File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed
test/org/openqa/selenium/remote Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -89,14 +89,6 @@ public static Optional<URI> getReportedUri(Capabilities caps) {
8989 case "msedge" :
9090 key = "ms:edgeOptions" ;
9191 break ;
92- case "firefox" :
93- key = "moz:debuggerAddress" ;
94- if (!caps .is ("webSocketUrl" )) {
95- LOG .warning (
96- "CDP support for Firefox is deprecated and will be removed in future versions. "
97- + "Please switch to WebDriver BiDi." );
98- }
99- break ;
10092 default :
10193 return Optional .empty ();
10294 }
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ java_export(
1313 deps = [
1414 "//java:auto-service" ,
1515 "//java/src/org/openqa/selenium/bidi" ,
16- "//java/src/org/openqa/selenium/devtools/v85" ,
1716 "//java/src/org/openqa/selenium/json" ,
1817 "//java/src/org/openqa/selenium/manager" ,
1918 "//java/src/org/openqa/selenium/remote" ,
Original file line number Diff line number Diff line change @@ -490,13 +490,13 @@ public URL getUrl() {
490490 SESSION_ID ,
491491 "capabilities" ,
492492 new ImmutableCapabilities (
493- "firefox " , "caps" ,
494- "browserName" , "firefox " ,
495- "moz:debuggerAddress " , uri .toString ())))));
493+ "chrome " , "caps" ,
494+ "browserName" , "chrome " ,
495+ "goog:chromeOptions " , uri .toString ())))));
496496
497497 WebDriver driver =
498498 RemoteWebDriver .builder ()
499- .oneOf (new FirefoxOptions ())
499+ .oneOf (new ChromeOptions ())
500500 .withDriverService (service )
501501 .augmentUsing (new Augmenter ())
502502 .connectingWith (config -> req -> response )
You can’t perform that action at this time.
0 commit comments