selenium-standalone
Advanced tools
Comparing version 2.39.0-2.8.0-1 to 2.39.0-2.8.0-2
@@ -14,4 +14,3 @@ var spawn = require('child_process').spawn; | ||
function standalone(spawnOptions, seleniumArgs) { | ||
process.on('SIGINT', kill); | ||
process.on('exit', kill); | ||
process.on('SIGTERM', kill); | ||
@@ -31,3 +30,3 @@ spawnOptions = spawnOptions || { stdio: 'inherit' }; | ||
if (selenium) { | ||
selenium.kill('SIGKILL'); | ||
selenium.kill('SIGTERM'); | ||
selenium = null; | ||
@@ -34,0 +33,0 @@ } |
{ | ||
"name": "selenium-standalone", | ||
"version": "2.39.0-2.8.0-1", | ||
"version": "2.39.0-2.8.0-2", | ||
"description": "installs a `start-selenium` command line to start a standalone selenium server with chrome-driver", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
@@ -6,3 +6,3 @@ # selenium-standalone | ||
Currently installs selenium `2.37.0` and chrome driver `2.6`. | ||
Currently installs selenium `2.39.0` and chrome driver `2.8`. | ||
@@ -20,2 +20,12 @@ ```shell | ||
## Running headlessly | ||
On linux, | ||
To run headlessly, you can use [xvfb](http://en.wikipedia.org/wiki/Xvfb): | ||
```shell | ||
xvfb-run --server-args="-screen 0, 1366x768x24" start-selenium | ||
``` | ||
## Available browsers | ||
@@ -22,0 +32,0 @@ |
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
7881
70
145