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 767c87e commit b498cbbCopy full SHA for b498cbb
java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java
@@ -33,6 +33,7 @@
33
import org.openqa.selenium.environment.webserver.NettyAppServer;
34
import org.openqa.selenium.firefox.FirefoxDriver;
35
import org.openqa.selenium.firefox.FirefoxOptions;
36
+import org.openqa.selenium.testing.drivers.Browser;
37
38
class BrowsingContextInspectorTest {
39
@@ -41,7 +42,7 @@ class BrowsingContextInspectorTest {
41
42
43
@BeforeEach
44
public void setUp() {
- FirefoxOptions options = new FirefoxOptions();
45
+ FirefoxOptions options = (FirefoxOptions) Browser.FIREFOX.getCapabilities();
46
options.setCapability("webSocketUrl", true);
47
48
driver = new FirefoxDriver(options);
0 commit comments