We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6079f27 commit cc11dd5Copy full SHA for cc11dd5
javascript/selenium-webdriver/index.js
@@ -683,8 +683,8 @@ class Builder {
683
// Allocate a free port for the websocket only when not connecting to an existing instance
684
// This avoids conflicts when multiple Firefox instances have started
685
if (!service?.args.includes('--connect-existing')) {
686
- service?.args.append('--websocket-port')
687
- service?.args.append(`${portprober.findFreePort()}`)
+ service?.args.push('--websocket-port')
+ service?.args.push(`${portprober.findFreePort()}`)
688
}
689
return createDriver(firefox.Driver, capabilities, service)
690
0 commit comments