Created
June 21, 2019 04:14
-
-
Save jpcaparas/7200cdd02051b549d9d1c2812a4aff2f to your computer and use it in GitHub Desktop.
Selenium Standalone Server wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# usr/local/bin/selenium | |
#!/usr/bin/env bash | |
set -e | |
# Download from https://www.seleniumhq.org/download/ | |
SELENIUM_PATH=/opt/selenium/selenium-server-latest.jar | |
SELENIUM_PORT=5555 | |
# Download from http://chromedriver.chromium.org/downloads | |
CHROMEDRIVER_PATH="$(which chromedriver)" | |
java -Dselenium.LOGGER.level=ALL -Dwebdriver.chrome.driver="$CHROMEDRIVER_PATH" -jar "$SELENIUM_PATH" -port $SELENIUM_PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment