Skip to content

Commit ebb6c9e

Browse files
committed
java: remove BrowserType.OPERA_PRESTO and DesiredCapabilities.operaPresto
1 parent b98b81d commit ebb6c9e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

java/client/src/org/openqa/selenium/remote/BrowserType.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
Copyright 2011 Selenium committers
3-
Copyright 2011 Software Freedom Conservancy
3+
Copyright 2011-2015 Software Freedom Conservancy
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -27,12 +27,11 @@ public interface BrowserType {
2727
String GOOGLECHROME = "googlechrome";
2828
String SAFARI = "safari";
2929
/**
30-
* @deprecated Use OPERA_BLINK or OPERA_PRESTO
30+
* @deprecated Use OPERA_BLINK
3131
*/
3232
@Deprecated
3333
String OPERA = "opera";
3434
String OPERA_BLINK = "operablink";
35-
String OPERA_PRESTO = "operapresto";
3635
String IEXPLORE= "iexplore";
3736
String IEXPLORE_PROXY= "iexploreproxy";
3837
String SAFARI_PROXY = "safariproxy";

java/client/src/org/openqa/selenium/remote/DesiredCapabilities.java

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
2+
Copyright 2015 Software Freedom Conservancy
23
Copyright 2007-2009 Selenium committers
34
45
Licensed under the Apache License, Version 2.0 (the "License");
@@ -231,17 +232,13 @@ public static DesiredCapabilities ipad() {
231232
}
232233

233234
/**
234-
* @deprecated Use #operaBlink or #operaPresto
235+
* @deprecated Use #operaBlink
235236
*/
236237
@Deprecated
237238
public static DesiredCapabilities opera() {
238239
return new DesiredCapabilities(BrowserType.OPERA, "", Platform.ANY);
239240
}
240241

241-
public static DesiredCapabilities operaPresto() {
242-
return new DesiredCapabilities(BrowserType.OPERA_PRESTO, "", Platform.ANY);
243-
}
244-
245242
public static DesiredCapabilities operaBlink() {
246243
return new DesiredCapabilities(BrowserType.OPERA_BLINK, "", Platform.ANY);
247244
}

0 commit comments

Comments
 (0)