Skip to content

Instantly share code, notes, and snippets.

View krishtoautomate's full-sized avatar

krishtoautomate krishtoautomate

View GitHub Profile
@krishtoautomate
krishtoautomate / selenium-grid.sh
Created March 20, 2022 18:33 — forked from techwhizbang/selenium-grid.sh
Selenium Grid service script
#!/bin/bash
case "${1:-''}" in
'start')
if test -f /tmp/selenium-grid.pid
then
echo "Selenium Grid is already running."
else
java -jar /home/bkr/selenium/selenium-server-standalone-2.9.0.jar -port 5555 -role hub > /var/log/selenium/selenium-grid.log 2> /var/log/selenium/selenium-grid-error.log & echo $! > /tmp/selenium-grid.pid
echo "Starting Selenium Grid..."