How to Install Selenoid on Debian Latest

Selenoid is an open-source Selenium Hub replacement that is written in Golang. It comes with numerous benefits such as efficient use of resources, better stability, and improved multi-browser testing capability. It is a perfect tool for automating UI tests and scalable web apps.

Here, we will walk through the steps of installing Selenoid on Debian Latest. But before we begin, it is crucial to have Docker installed on your system. You can install Docker by following the official Docker installation guide.

Step 1: Install Selenoid

To install Selenoid, we must use the following command:

curl -s https://aerokube.com/cm/bash | bash && ./cm selenoid start --vnc

This command installs the cm tool, which is used to manage the Selenoid server. The "--vnc" flag allows you to connect to the Selenium containers via VNC.

Step 2: Verify Selenoid Installation

Once the installation completes, you can verify if the Selenoid is running successfully by opening the browser and enter the following URL http://localhost:4444/status

Step 3: Install Selenoid UI

The Selenoid UI is an optional installation but can be useful for visualizing the tests' performance. To install Selenoid UI, use the following command:

./cm selenoid-ui start

The above command starts Selenoid UI on port 8080. You can access the UI by opening the browser and enter the following URL http://localhost:8080

Conclusion

That's it! We have successfully installed Selenoid on Debian Latest. It is one of the best tools available for automating UI testing and supports multi-browser testing, including Chrome, Firefox, Opera, and many more. With Selenoid, you can always rely on efficient use of resources, better stability, and improved multi-browser testing capability.

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!