How to Install Selenoid on Windows 11

Selenoid is an open-source automated UI testing framework that is widely used in web application testing. This tutorial will guide you on how to install Selenoid on Windows 11.

Prerequisites

  1. Windows 11 installed.
  2. A web browser installed, such as Google Chrome or Mozilla Firefox.
  3. Docker Desktop installed and running.
  4. JRE (Java Runtime Environment) installed.

Installation

  1. First, download the Selenoid binary for Windows from the official website aerokube.com and unzip it to a directory of your choice.

  2. Next, make sure that Docker Desktop is installed and running on your system. Docker is required to run Selenoid in containerized environments.

  3. Once Docker Desktop is up and running, open Command Prompt or PowerShell as administrator on Windows 11.

  4. Navigate to the directory where you unzipped the Selenoid binary using the cd command. For example, if you unzipped the binary to the C:\Users\MyUser\selenoid directory, you would enter the following command:

    cd C:\Users\MyUser\selenoid

  5. Assign execution permissions to the Selenoid binary using the following command:

    chmod +x selenoid

  6. Start Selenoid using the following command:

    .\selenoid start

    This command will download and start Selenoid in a Docker container.

  7. Verify that Selenoid is running properly by opening your web browser and navigating to http://localhost:4444/status.

    You should see a JSON response similar to the following:

    {
        "total": 0,
        "used": 0,
        "queued": 0,
        "pending": 0,
        "browsers": {},
        "errors": []
    }
    
  8. Congratulations! You have successfully installed Selenoid on Windows 11!

Conclusion

Selenoid is a powerful UI testing framework that can help you automate web application testing. This tutorial guided you through the steps required to install Selenoid on Windows 11 using Docker. With Selenoid installed, you can now start creating and running automated UI tests for your web applications.

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!