selenium-standalone
Advanced tools
Comparing version 8.1.2 to 8.1.3
@@ -30,2 +30,6 @@ module.exports = start; | ||
if (!opts.spawnOptions) { | ||
opts.spawnOptions = {}; | ||
} | ||
if (!opts.version) { | ||
@@ -88,2 +92,4 @@ opts.version = defaultConfig.version; | ||
args.push('-Dwebdriver.chrome.driver=' + fsPaths.chrome.installPath); | ||
opts.seleniumArgs.push('-I'); | ||
opts.seleniumArgs.push('chrome'); | ||
} | ||
@@ -93,2 +99,4 @@ | ||
args.push('-Dwebdriver.ie.driver=' + fsPaths.ie.installPath); | ||
opts.seleniumArgs.push('-I'); | ||
opts.seleniumArgs.push('internet explorer'); | ||
} else { | ||
@@ -100,2 +108,4 @@ delete fsPaths.ie; | ||
args.push('-Dwebdriver.edge.driver=' + fsPaths.edge.installPath); | ||
opts.seleniumArgs.push('-I'); | ||
opts.seleniumArgs.push('edge'); | ||
} else { | ||
@@ -107,2 +117,4 @@ delete fsPaths.edge; | ||
args.push('-Dwebdriver.gecko.driver=' + fsPaths.firefox.installPath); | ||
opts.seleniumArgs.push('-I'); | ||
opts.seleniumArgs.push('firefox'); | ||
} | ||
@@ -112,2 +124,4 @@ | ||
args.push('-Dwebdriver.edge.driver=' + fsPaths.chromiumedge.installPath); | ||
opts.seleniumArgs.push('-I'); | ||
opts.seleniumArgs.push('edge'); | ||
} else { | ||
@@ -126,2 +140,6 @@ delete fsPaths.chromiumedge; | ||
if (!opts.spawnOptions.stdio) { | ||
opts.spawnOptions.stdio = 'ignore'; | ||
} | ||
debug('Spawning Selenium Server process', opts.javaPath, args); | ||
@@ -128,0 +146,0 @@ const selenium = spawn(opts.javaPath, args, opts.spawnOptions); |
{ | ||
"name": "selenium-standalone", | ||
"version": "8.1.2", | ||
"version": "8.1.3", | ||
"description": "installs a `selenium-standalone` command line to install and start a standalone selenium server", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85258
1266