Setup Selenium Grid 4 by using docker compose file || Run multiple Test Cases simultaneously

Published: 01 November 2021
on channel: AJ AUTOMATION
5,862
66

▶️ Lets learn how to setup Selenium Grid 4 using docker compose yml file to Run Hub & Node services with environment configuration through the docker compose and how to scale containers. We can run multiple tests simultaneously on Chrome , Edge, Firefox.

▶️ First Docker Desktop should be installed on your system and then we can run docker commands for pulling the docker images and then we will run the containers.

⚡️ 1] Pull Images [ Selenium Hub- selenium/hub:4.0.0-rc-2-20210930, node-firefox:4.0.0-rc-2-20210930 and node-edge:4.0.0-rc-2-20210930 ]

⚡️ 2] Create docker compose yml file, add all the details of different services and their configuration.

⚡️ 3] Run that docker compose yml file

⚡️ 4] You can expose the port for external connectivity and monitor flow by connecting nodes through the VNC Viewer.

⚡️ 5] You can map 7900 port of docker container to a random port of the host machine to access noVNC service from browser from the Host machine itself.

✅ Selenium Grid With Docker:==
   • Selenium Grid With Docker - Learn To ...  

======================================
***************AJ AUTOMATION*************
======================================

🔔 Learn automation from basic !! 🔔

✅ Let's Learn the Concept in 5 To 10 Mins :=
   • Test Automation Interviews Preparatio...  

✅ Selenium series videos Playlist :=
   • Selenium tutorial for beginners - Mos...  

✅ Maven Tool videos playlist :=
   • Maven Tool - Learn Basics To Advanced...  

✅ Selenium WebDriver Exceptions Playlist :=
   • Selenium WebDriver Exceptions  

✅ Selenium Grid With Docker:==
   • Selenium Grid With Docker - Learn To ...  

✅ Upload and Download Files in Selenium :=
   • Selenium WebDriver - Upload and Downl...  

✅ Excel and CSV files operations :=
   • Excel and CSV -- Read Write Operations  

✅ Java Language Concepts :=
   • Java Language Concepts - By AjAutomation  

✅TestNG Framework Videos:=
   • TestNG Introduction and Why we use Te...  

✅ Become Master in Xpath:=
   • Xpath Introduction  

✅ Protractor series videos playlist :=
   • Let's Learn Protractor - By AjAutomation  

✅ Recent Uploads :=
   • Recent Uploaded Videos  

✅ GitHub Repo:= https://github.com/ajautomation

⚡️ Thanks for your support !! ⚡️

======================================
*************** Thanks for watching !!*************
======================================


⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

#LearnSeleniumInEasyWay #SeleniumWebDriver