Download Selenium Drivers
Installation Steps
Ensure that Docker is installed on your computer. If Docker is not installed, follow the steps below to install it:
Visit the Docker official website.
Download Docker Desktop for your operating system (Windows, macOS, or Linux).
Follow the installation instructions provided for your specific operating system.
Once installed, open Docker Desktop and complete the initial setup process.
Run the following to download the driver images.
For Chrome:
docker pull selenium/standalone-chrome
For Firefox:
docker pull selenium/standalone-firefox
Run the following commands to launch the drivers and generate a container
For Chrome:
docker run -d --name=chrome -p 4101:4444 -p 7901:7900 --shm-size="2g" -e SCREEN_WIDTH=1900 -e SCREEN_HEIGHT=1000 -e VNC_NO_PASSWORD=1 --restart always selenium/standalone-chrome
For Firefox:
docker run -d --name=firefox -p 4102:4444 -p 7902:7900 --shm-size="2g" -e SCREEN_WIDTH=1900 -e SCREEN_HEIGHT=1000 -e VNC_NO_PASSWORD=1 --restart always selenium/standalone-firefox
To verify that all steps have been correctly followed, you should be able to access the running browsers by navigating to http://localhost:7901 for Chrome and http://localhost:7902 for Firefox.
For more information and other installation options, please visit: https://hub.docker.com/r/selenium/standalone-chrome.

4) Make sure you have driver information in your config file. (environments/development/global.configs.js)

Last updated