You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Since operadriver does not support w3c, Selenium will remove the support in the next version.
43
+
* @deprecated Use {@link org.openqa.selenium.chrome.ChromeDriver} with
44
+
* {@link org.openqa.selenium.chrome.ChromeOptions#setBinary(File)} or {@link org.openqa.selenium.chrome.ChromeOptions#setBinary(String)}
45
+
* to set the path to the Opera browser.
46
+
*
47
+
* <p>Example usage:
48
+
* <pre><code>
49
+
* ChromeOptions options = new ChromeOptions()
50
+
* options.setBinary(new File("/path/to/opera"));
51
+
*
52
+
* // For using Opera browser with ChromeDriver:
53
+
* ChromeDriver driver = new ChromeDriver(options);
54
+
*
55
+
* // For use with RemoteWebDriver:
56
+
* ChromeOptions options = new ChromeOptions();
57
+
* options.setBinary(new File("/path/to/opera"));
58
+
* RemoteWebDriver driver = new RemoteWebDriver(
59
+
* new URL("http://localhost:4444/"), options);
Copy file name to clipboardExpand all lines: java/src/org/openqa/selenium/opera/OperaOptions.java
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,28 @@
48
48
* RemoteWebDriver driver = new RemoteWebDriver(
49
49
* new URL("http://localhost:4444/"), options);
50
50
* </code></pre>
51
+
*
52
+
* Since operadriver does not support w3c, Selenium will remove the support in the next version.
53
+
* @deprecated Use {@link org.openqa.selenium.chrome.ChromeDriver} with
54
+
* {@link org.openqa.selenium.chrome.ChromeOptions#setBinary(File)} or {@link org.openqa.selenium.chrome.ChromeOptions#setBinary(String)}
55
+
* to set the path to the Opera browser.
56
+
*
57
+
* <p>Example usage:
58
+
* <pre><code>
59
+
* ChromeOptions options = new ChromeOptions()
60
+
* options.setBinary(new File("/path/to/opera"));
61
+
*
62
+
* // For using Opera browser with ChromeDriver:
63
+
* ChromeDriver driver = new ChromeDriver(options);
64
+
*
65
+
* // For use with RemoteWebDriver:
66
+
* ChromeOptions options = new ChromeOptions();
67
+
* options.setBinary(new File("/path/to/opera"));
68
+
* RemoteWebDriver driver = new RemoteWebDriver(
69
+
* new URL("http://localhost:4444/"), options);
0 commit comments