We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f0f06 commit c06a761Copy full SHA for c06a761
java/src/org/openqa/selenium/HasDownloads.java
@@ -30,9 +30,9 @@ public interface HasDownloads {
30
* <p>Example usage:
31
*
32
* <pre>{@code
33
- * Capabilities capabilities = new Capabilities();
34
- * capabilities.setCapability("se:downloadsEnabled", true);
35
- * driver.requireDownloadsEnabled(capabilities);
+ * ChromeOptions options = new ChromeOptions();
+ * options.setCapability("se:downloadsEnabled", true);
+ * driver.requireDownloadsEnabled(options);
36
* }</pre>
37
38
* @param capabilities the capabilities object
0 commit comments