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 7d6d36f commit 98c44dcCopy full SHA for 98c44dc
java/src/org/openqa/selenium/HasDownloads.java
@@ -28,13 +28,12 @@ public interface HasDownloads {
28
* Requires downloads to be enabled.
29
*
30
* <p>Example usage:
31
- * <pre>
32
- * {@code
+ *
+ * <pre>{@code
33
* Capabilities capabilities = new Capabilities();
34
* capabilities.setCapability("se:downloadsEnabled", true);
35
* driver.requireDownloadsEnabled(capabilities);
36
- * }
37
- * </pre>
+ * }</pre>
38
39
* @param capabilities the capabilities object
40
* @throws WebDriverException if capability to enable downloads is not set
0 commit comments