|
@@ -56,7 +56,7 @@ function getBrowserOptions(options) {
|
|
|
chromeOptions.setChromeBinaryPath(options.browserExecutablePath);
|
|
chromeOptions.setChromeBinaryPath(options.browserExecutablePath);
|
|
|
}
|
|
}
|
|
|
if (options.webDriverExecutablePath) {
|
|
if (options.webDriverExecutablePath) {
|
|
|
- process.env["PATH"] = process.env["PATH"] + ";" + options.webDriverExecutablePath.replace(/geckodriver(\.exe)?$/, "");
|
|
|
|
|
|
|
+ process.env["PATH"] += ";" + options.webDriverExecutablePath.replace(/geckodriver(\.exe)?$/, "");
|
|
|
}
|
|
}
|
|
|
if (options.browserArgs) {
|
|
if (options.browserArgs) {
|
|
|
const args = JSON.parse(options.browserArgs);
|
|
const args = JSON.parse(options.browserArgs);
|