selenium-standalone
Advanced tools
Comparing version 9.1.0 to 9.1.1
@@ -114,3 +114,3 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
`opts.processKiller` set for that truthy value, for killing selenium server port. | ||
`opts.processKiller` set to falsy value, for preventing killing selenium server port. | ||
@@ -117,0 +117,0 @@ returns `Promise<ChildProcess>` |
@@ -52,4 +52,4 @@ <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
# killing process before starting | ||
selenium-standalone start --processKiller=true | ||
# prevent killing selenium process before start | ||
selenium-standalone start --processKiller=false | ||
@@ -56,0 +56,0 @@ ``` |
@@ -5,3 +5,2 @@ module.exports = () => { | ||
version: process.env.SELENIUM_VERSION || '4.9.0', | ||
processKiller: false, | ||
drivers: { | ||
@@ -8,0 +7,0 @@ chrome: { |
@@ -153,3 +153,3 @@ module.exports = start; | ||
if (await isPortReachable(seleniumStatusUrl.port, { timeout: 100 })) { | ||
if ('processKiller' in opts && opts.processKiller) { | ||
if (!('processKiller' in opts) || ('processKiller' in opts && opts.processKiller)) { | ||
await processKiller(opts.drivers, seleniumStatusUrl.port); | ||
@@ -156,0 +156,0 @@ |
{ | ||
"name": "selenium-standalone", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"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
100435
1627