Skip to content

Commit ec2f0fb

Browse files
committed
[JS] Use to create absolute path for browser binary fixes #12479
1 parent 26e47d1 commit ec2f0fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/node/selenium-webdriver/common/seleniumManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function driverLocation(options) {
7878
options.get('ms:edgeOptions') ||
7979
options.get('moz:firefoxOptions')
8080
if (vendorOptions && vendorOptions.binary && vendorOptions.binary !== '') {
81-
args.push('--browser-path', '"' + vendorOptions.binary + '"')
81+
args.push('--browser-path', path.resolve(vendorOptions.binary))
8282
}
8383

8484
const proxyOptions = options.getProxy();

0 commit comments

Comments
 (0)