Skip to content

Commit 4c93bff

Browse files
committed
Fixing javadoc
1 parent f482acb commit 4c93bff

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

java/client/src/org/openqa/selenium/firefox/FirefoxDriver.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ public static final class SystemProperty {
116116

117117
protected FirefoxBinary binary;
118118

119-
// TODO: make it public as soon as it's fully implemented
120119
public FirefoxDriver(FirefoxOptions options) {
121120
this(toExecutor(options), options.toDesiredCapabilities(), options.toRequiredCapabilities());
122121
}

java/client/src/org/openqa/selenium/firefox/FirefoxOptions.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@
5555
* <p>
5656
* An example of usage:
5757
* <pre>
58-
* DesiredCapabilities caps = new FirefoxOptions()
58+
* FirefoxOptions options = new FirefoxOptions()
5959
* .addPreference("browser.startup.page", 1)
60-
* .addPreference("browser.startup.homepage", "https://www.google.co.uk")
61-
* .addTo(DesiredCapabilities.firefox());
62-
* WebDriver driver = new FirefoxDriver(caps);
60+
* .addPreference("browser.startup.homepage", "https://www.google.co.uk");
61+
* WebDriver driver = new FirefoxDriver(options);
6362
* </pre>
6463
*/
6564
public class FirefoxOptions {

0 commit comments

Comments
 (0)