This tutorial will guide you through the process of installing Selenoid on EndeavourOS Latest.
Open the Terminal Application: Press Ctrl + Alt + T
or search for the Terminal
in the Application menu and open it.
Install wget
and unzip
packages if not already installed using the following command:
sudo pacman -Syu wget unzip
Download the latest release of selenoid
binary using the following command:
wget https://github.com/aerokube/selenoid/releases/latest/download/selenoid_linux_amd64
Move the selenoid_linux_amd64
binary to the /usr/local/bin
directory using the following command:
sudo mv selenoid_linux_amd64 /usr/local/bin/selenoid
Give executable permission to the selenoid
binary using the following command:
sudo chmod +x /usr/local/bin/selenoid
Create a folder for storing the Selenoid configuration in /etc/selenoid
directory using the following command:
sudo mkdir -p /etc/selenoid/
Download the browsers.json
and config.json
configuration files from the official GitHub repository using the following commands:
sudo wget https://raw.githubusercontent.com/aerokube/selenoid/master/browsers.json -P /etc/selenoid/
sudo wget https://raw.githubusercontent.com/aerokube/selenoid/master/config/browsers.json -P /etc/selenoid/
Start the Selenoid container using the following command:
docker run -d --name selenoid \
-p 4444:4444 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/selenoid:/etc/selenoid:ro \
aerokube/selenoid:latest-release
Verify that the Selenoid container is running using the following command:
docker ps
You can now start running tests with Selenium WebDriver through thehttp://localhost:4444/wd/hub
or http://<your_ip>:4444/wd/hub
URL.
Congratulations! You have successfully installed Selenoid on EndeavourOS Latest. You can now run automated UI tests with Selenium WebDriver using Selenoid.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!