Skip to content

Instantly share code, notes, and snippets.

@pascencio
Created July 27, 2017 18:26
Show Gist options
  • Save pascencio/a0a4ffd3b7eb1d53d0d6cacb0a076ee9 to your computer and use it in GitHub Desktop.
Save pascencio/a0a4ffd3b7eb1d53d0d6cacb0a076ee9 to your computer and use it in GitHub Desktop.
Start Selenium Node In Linux
WEBDRIVER_HOME="/path/to/webdrivers"
JAVA_BIN="/path/to/java_exe"
SELENIUM_SERVER_JAR="/path/to/selenium_server_jar"
GRID_HOST="Put your GRID HOST here"
GRID_PORT=4444
export PATH=$WEBDRIVER_HOME:$PATH
$JAVA_BIN -jar $SELENIUM_SERVER_JAR -role node -hub http://$GRID_HOST:$GRID_PORT/grid/register
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment