How to Install Selenoid on EndeavourOS Latest
This tutorial will guide you through the process of installing Selenoid on EndeavourOS Latest.
Prerequisites
- EndeavourOS Latest Installed
- Docker installed and running in the system
Steps
Open the Terminal Application: Press
Ctrl + Alt + Tor search for theTerminalin the Application menu and open it.Install
wgetandunzippackages if not already installed using the following command:sudo pacman -Syu wget unzipDownload the latest release of
selenoidbinary using the following command:wget https://github.com/aerokube/selenoid/releases/latest/download/selenoid_linux_amd64Move the
selenoid_linux_amd64binary to the/usr/local/bindirectory using the following command:sudo mv selenoid_linux_amd64 /usr/local/bin/selenoidGive executable permission to the
selenoidbinary using the following command:sudo chmod +x /usr/local/bin/selenoidCreate a folder for storing the Selenoid configuration in
/etc/selenoiddirectory using the following command:sudo mkdir -p /etc/selenoid/Download the
browsers.jsonandconfig.jsonconfiguration 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-releaseVerify that the Selenoid container is running using the following command:
docker psYou can now start running tests with Selenium WebDriver through the
http://localhost:4444/wd/huborhttp://<your_ip>:4444/wd/hubURL.
Congratulations! You have successfully installed Selenoid on EndeavourOS Latest. You can now run automated UI tests with Selenium WebDriver using Selenoid.