How to Install Selenoid on Windows 10

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.

Prerequisites

Step 1: Download Selenoid Configuration File

Go to the official website of Selenoid and download the latest version of selenoid.json configuration file.

Step 2: Create Selenoid Home Directory

Create Selenoid home directory to store Selenoid configuration files and images.

mkdir %USERPROFILE%\.selenoid

Step 3: Copy Configuration File

Copy the selenoid.json file to the Selenoid home directory you created in step 2.

copy selenoid.json %USERPROFILE%\.selenoid\

Step 4: Install Selenoid Docker Image

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.

Step 5: Check Selenoid Installation

To 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.

Conclusion

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!