Skip to content

Commit

Permalink
java: remove BrowserType.OPERA_PRESTO and DesiredCapabilities.operaPr…
Browse files Browse the repository at this point in the history
…esto
  • Loading branch information
andreastt committed Mar 2, 2015
1 parent b98b81d commit ebb6c9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
5 changes: 2 additions & 3 deletions java/client/src/org/openqa/selenium/remote/BrowserType.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright 2011 Selenium committers
Copyright 2011 Software Freedom Conservancy
Copyright 2011-2015 Software Freedom Conservancy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -27,12 +27,11 @@ public interface BrowserType {
String GOOGLECHROME = "googlechrome";
String SAFARI = "safari";
/**
* @deprecated Use OPERA_BLINK or OPERA_PRESTO
* @deprecated Use OPERA_BLINK
*/
@Deprecated
String OPERA = "opera";
String OPERA_BLINK = "operablink";
String OPERA_PRESTO = "operapresto";
String IEXPLORE= "iexplore";
String IEXPLORE_PROXY= "iexploreproxy";
String SAFARI_PROXY = "safariproxy";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*
Copyright 2015 Software Freedom Conservancy
Copyright 2007-2009 Selenium committers
Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -231,17 +232,13 @@ public static DesiredCapabilities ipad() {
}

/**
* @deprecated Use #operaBlink or #operaPresto
* @deprecated Use #operaBlink
*/
@Deprecated
public static DesiredCapabilities opera() {
return new DesiredCapabilities(BrowserType.OPERA, "", Platform.ANY);
}

public static DesiredCapabilities operaPresto() {
return new DesiredCapabilities(BrowserType.OPERA_PRESTO, "", Platform.ANY);
}

public static DesiredCapabilities operaBlink() {
return new DesiredCapabilities(BrowserType.OPERA_BLINK, "", Platform.ANY);
}
Expand Down

0 comments on commit ebb6c9e

Please sign in to comment.