Skip to content

Commit b498cbb

Browse files
committed
[bazel] Get the bidi test working on engflow
1 parent 767c87e commit b498cbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import org.openqa.selenium.environment.webserver.NettyAppServer;
3434
import org.openqa.selenium.firefox.FirefoxDriver;
3535
import org.openqa.selenium.firefox.FirefoxOptions;
36+
import org.openqa.selenium.testing.drivers.Browser;
3637

3738
class BrowsingContextInspectorTest {
3839

@@ -41,7 +42,7 @@ class BrowsingContextInspectorTest {
4142

4243
@BeforeEach
4344
public void setUp() {
44-
FirefoxOptions options = new FirefoxOptions();
45+
FirefoxOptions options = (FirefoxOptions) Browser.FIREFOX.getCapabilities();
4546
options.setCapability("webSocketUrl", true);
4647

4748
driver = new FirefoxDriver(options);

0 commit comments

Comments
 (0)