Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.16 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.16 KB

Shaka Lab Hub

The Shaka Lab Hub package provides a Selenium grid hub, and is available for Linux only.

Installation

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

Updates

sudo apt update && sudo apt -y upgrade

Configuration

/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

Restarting the service after editing the config

sudo systemctl restart shaka-lab-hub

Tailing logs

journalctl --no-hostname -u shaka-lab-hub --follow

Uninstallation

sudo apt remove -y shaka-lab-hub