ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

How to setup Selenium Grid in Docker | Using Docker Compose yml file | Part 1

selenium grid with docker

selenium grid

selenium grid tutorial

selenium grid parallel execution

selenium grid with docker tutorial

selenium grid docker compose

selenium grid docker setup

docker selenium grid

docker in selenium

docker selenium vnc

docker selenium standalone chrome

docker selenium grid for parallel test execution

docker compose selenium grid

docker selenium grid tutorial

how to setup selenium grid in docker

selenium grid tutorial for beginners

Автор: Maximum Automation

Загружено: 2021-02-25

Просмотров: 4557

Описание: In this video we are going to see that, how to setup selenium grid on docker.

We can setup the grid on docker with easy commands using docker-compose method.

To start with, first install the docker in your system based on your operating system.

After that download the docker-compose.yml file. Below is the sample docker compose file content.

###################################################
To execute this docker-compose yml file use `docker-compose -f docker-compose-v3.yml up`
Add the `-d` flag at the end for detached execution
To stop the execution, hit Ctrl+C, and then `docker-compose -f docker-compose-v3.yml down`
version: "3"
services:
chrome:
image: selenium/node-chrome
volumes:
/dev/shm:/dev/shm
depends_on:
selenium-hub
environment:
HUB_PORT_4444_TCP_ADDR=selenium-hub
HUB_PORT_4444_TCP_PORT=4444
NODE_MAX_INSTANCES=5

ports:
"6900:5900"


firefox:
image: selenium/node-firefox
volumes:
/dev/shm:/dev/shm
depends_on:
selenium-hub
environment:
HUB_PORT_4444_TCP_ADDR=selenium-hub
HUB_PORT_4444_TCP_PORT=4444
NODE_MAX_INSTANCES=3

ports:
"6902:5900"

selenium-hub:
image: selenium/hub
container_name: selenium-hub
ports:
"4444:4444"

####################################################

To setup the grid, open the command prompt and make sure that you are at the same directory where your docker-compose file is placed.
Run the below command in sequence

docker pull selenium/hub

docker pull selenium/node-chrome

docker pull selenium/node-firefox

Above commands will download the images from docker server.
Now run the below command to setup the grid.

docker-compose up -d

Now, if you go to the browser and type the url localhost:4444

Then you will see that selenium grid is running on the provided port and two nodes are attached with it, one for browser chrome and the other one for firefox.

In case you want to stop the selenium grid setup then you can do that by typing the below command.

docker-compose down

So this is how we can setup the selenium grid in docker.


**********Please comment in case of any query.**************

Also, please see other videos as well.

How to setup selenium grid in docker Part1 :    • How to setup Selenium Grid in Docker | Usi...  

How to setup selenium grid in docker-Part2    • How to setup Selenium Grid in Docker | Usi...  

Selenium with C# - Klov Report :    • Selenium with C# | Klov Report Server  

Selenium with C# - Extent Report :    • Selenium with C# | Extent Report  

Selenium with C# - Create Project to automate test (Selenium + Specflow ) :    • Видео  

Selenium with C# - Parallel Execution and Screenshot :    • Видео  

Selenium with C# - All about feature files :    • Видео  

Serilog - Logging in Automation Framework :    • Serilog | Logging in Automation Framework ...  

Selenium with C# - Specflow - External Bindings :    • Selenium C# | Specflow | External Bindings  

Selenium - Working with Excel - Part 1 :    • Видео  

Selenium with Java - Cucumber Html Report :    • Selenium with Java | Cucumber Html Report  

Object Repository | YAML file | Selenium JAVA | BDD Framework -    • Object Repository | How to maintain OR in ...  

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
How to setup Selenium Grid in Docker | Using Docker Compose yml file | Part 1

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]