Skip to content

Commit 216dde6

Browse files
committed
comment out code
1 parent 9159f6f commit 216dde6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

java/test/org/openqa/selenium/bidi/emulation/EmulationTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ class EmulationTest extends JupiterTestBase {
4040
Object getBrowserGeolocation(WebDriver driver, String userContext) {
4141
JavascriptExecutor executor = (JavascriptExecutor) driver;
4242

43-
BrowsingContext context = new BrowsingContext(driver, driver.getWindowHandle());
44-
String url = appServer.whereIs("blank.html");
45-
context.navigate(url, ReadinessState.COMPLETE);
46-
driver.switchTo().window(context.getId());
43+
// BrowsingContext context = new BrowsingContext(driver, driver.getWindowHandle());
44+
// String url = appServer.whereIs("blank.html");
45+
// context.navigate(url, ReadinessState.COMPLETE);
46+
// driver.switchTo().window(context.getId());
4747

4848
Permission permission = new Permission(driver);
4949
var origin = executor.executeScript("return window.location.origin;");

0 commit comments

Comments
 (0)