Run selenium4 tests in Docker containers using Hub & Node | docker compose yml file
HTML-код
- Опубликовано: 20 сен 2024
- This video will explain
How to run selenium UI tests into docker containers using docker-compose yml file.
this uses the selenium's latest HUB and NODE grid.
Node Containers can be chrome, firefox or edge browser.
You will learn how to use selenium's own docker containers called as hub node where all the nodes will be registered to hub.
To run this yml file, navigate to project directory in terminal or command prompt and enter below line -
docker-compose f docker-compose hubnode.yml up
Selenium java complete series -
bit.ly/qavbox-...
Subscribe to this channel -
bit.ly/youtube...
Blog posts -
qavalidation.com
Make me awake & feel fresh always, so I can bring lot's of interesting topics for you all, Buy me a coffee?
buymeacoffee.co...
Thank you for watching!
can we change password ?
Hey, how could you see video during testing in selenium grid ? I've tried but dont see any camera icon like 13:29.
Is there any config in selenium grid ? . Let me know any video that you made for that.
Hi Just a small question, Can I create two chrome images in the same hub?
If we use In cap.setPlatform(platform.WIN10) then the browser in grid doesn't start
This is because the docker containers from docker selenium project are Linux containers, and the capabilities in code should match the docker container platform
@@qavbox how can we change the docker container selenium browser as chrome from Linux ,,,, because in my project as I set the capabilities as win10 ,,,so I want to use the window 10 not the Linux
@@qavbox in selenium grid normally not the docker one,, we have chrome as win 10 ,,so I run the project easily but while using the docker selenium grid ,, i saw the browser has LINUX ,, so I reached all the articles how to change it to win 10 but not find any solution
@@qavbox by the way thanks for replying 👍
@@gazi3041
You have to put if else condition to set the cap to Win10 when you run in grid, and set cap to linux when you run in docker container.
Like i set platform to local or remote in my framework app.java
hi thanks for your presentation.Please,Could you share your githup account? is there any configuration on your github acconut ,ı wonder..Thanks again
github.com/sunilpatro1985/SeleniumJavaFramework
We need not to do any specific changes to github repo.
@@qavbox ok thanks for your interesting