@@ -170,7 +170,6 @@ public FirefoxDriverCommandExecutor(DriverService service) {
170
170
171
171
protected FirefoxBinary binary ;
172
172
private RemoteWebStorage webStorage ;
173
- private Connection connection ;
174
173
private DevTools devTools ;
175
174
176
175
public FirefoxDriver () {
@@ -331,7 +330,6 @@ private static Capabilities dropCapabilities(Capabilities capabilities) {
331
330
332
331
@ Override
333
332
public DevTools getDevTools () {
334
- System .out .println (getCapabilities ());
335
333
if (devTools == null ) {
336
334
Object debuggerAddress = getCapabilities ().getCapability ("moz:debuggerAddress" );
337
335
if (debuggerAddress == null ) {
@@ -353,12 +351,11 @@ public DevTools getDevTools() {
353
351
throw new WebDriverException ("The driver did not provide CDP endpoint" );
354
352
}
355
353
356
- System .out .println (debuggerUrl );
357
354
URI wsUri = new URI ((String ) debuggerUrl );
358
355
ClientConfig wsConfig = ClientConfig .defaultConfig ().baseUri (wsUri );
359
356
HttpClient wsClient = clientFactory .createClient (wsConfig );
360
357
361
- connection = new Connection (wsClient , wsUri .toString ());
358
+ Connection connection = new Connection (wsClient , wsUri .toString ());
362
359
CdpInfo cdpInfo = new CdpVersionFinder ().match ("86.0" ).orElseGet (NoOpCdpInfo ::new );
363
360
devTools = new DevTools (cdpInfo ::getDomains , connection );
364
361
} catch (URISyntaxException e ) {
0 commit comments