File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java/test/org/openqa/selenium/bidi/emulation Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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;" );
You can’t perform that action at this time.
0 commit comments