The Shaka Lab Hub package provides a Selenium grid hub, and is available for Linux only.
curl -L https://shaka-project.github.io/shaka-lab/public.key | \
sudo tee /etc/apt/trusted.gpg.d/shaka-lab.asc
echo deb https://shaka-project.github.io/shaka-lab/ stable main | \
sudo tee /etc/apt/sources.list.d/shaka-lab.list
sudo apt update
sudo apt -y install shaka-lab-hub
sudo apt update && sudo apt -y upgrade
/etc/default/shaka-lab-hub
contains two settings: PORT
and HOST
.
If you wish to run the Selenium grid hub on a specific port, uncomment and
change the PORT
setting:
# The port number to listen on, which defaults to 4444.
#PORT=4444
If you wish to listen on a specific IP or hostname, uncomment and change the
HOST
setting:
# The IP or hostname to listen on, which defaults to 0.0.0.0 (all IPs).
#HOST=0.0.0.0
sudo systemctl restart shaka-lab-hub
journalctl --no-hostname -u shaka-lab-hub --follow
sudo apt remove -y shaka-lab-hub