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 a124440 commit 1c036abCopy full SHA for 1c036ab
javascript/node/selenium-webdriver/common/seleniumManager.js
@@ -25,6 +25,7 @@ const { platform } = require('process')
25
const path = require('path')
26
const fs = require('fs')
27
const spawnSync = require('child_process').spawnSync
28
+const { Capability } = require('../lib/capabilities')
29
30
let debugMessagePrinted = false;
31
@@ -126,6 +127,11 @@ function driverLocation(options) {
126
127
)
128
}
129
130
+ // Once driverPath is available, delete browserVersion from payload
131
+ if (output.result.driver_path) {
132
+ options.delete(Capability.BROWSER_VERSION)
133
+ }
134
+
135
logOutput(output)
136
return {
137
driverPath: output.result.driver_path,
0 commit comments