Selenoid is an open-source Selenium Hub server that allows parallel execution of Selenium tests in Docker containers. In this tutorial, we will explain how to install Selenoid on Windows 10.
Go to the official website of Selenoid and download the latest version of selenoid.json
configuration file.
Create Selenoid home directory to store Selenoid configuration files and images.
mkdir %USERPROFILE%\.selenoid
Copy the selenoid.json
file to the Selenoid home directory you created in step 2.
copy selenoid.json %USERPROFILE%\.selenoid\
Run the following command to install Selenoid Docker image.
docker run -d --name selenoid -v /var/run/docker.sock:/var/run/docker.sock -v %USERPROFILE%\.selenoid:/etc/selenoid/:ro -p 4444:4444 aerokube/selenoid:latest-release
The above command will download the latest version of Selenoid Docker image and run it.
-d
runs the container in detached mode--name
specifies the container name as 'selenoid'-v
mounts the docker socket to the container to manage other Docker containers-v
mounts the Selenoid home directory to the container at /etc/selenoid/
in read-only mode-p
maps port 4444 inside the container to port 4444 on the host machineaerokube/selenoid:latest-release
specifies the Docker image to runTo check if Selenoid is installed correctly, navigate to http://localhost:4444/status
in your preferred web browser.
If the page displays "Selenoid is up and running," then you have successfully installed Selenoid on your Windows 10 machine.
In this tutorial, we learned how to install Selenoid on Windows 10. Selenoid provides an efficient way to execute Selenium tests in Docker containers, enabling parallel execution and simplified setup.
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!