Selenium Framework - Part 54 - Run Selenium Tests in different browser versions using Docker

preview_player
Показать описание
Hi All,

In this video, we will see about how we can change the existing framework to run selenium tests in different versions of chrome or firefox or browsers.

Understanding how the existing setup works.
Default behavior of selenium/hub.
Adding browser version to the desired capabilities.
Changes to the excel sheet.
Changes to the driver class.
Final run & verification.
Рекомендации по теме
Комментарии
Автор

When you say, extra knowledge, you sound great. Thanks for sharing your thoughts Shakti. You are a great person.

amitchauhan
Автор

Another excellent video, thanks Amuthan

lka
Автор

Great. its becoming super enhanced framework. Thanks for sharing the knowledge.

swapnilbodade
Автор

looks like need to start from beginning for this video of dockers series.. as i directly started from docker.. but able to run this way as explained in previous video..

by passing the version from data provider along with browser name

Udzial
Автор

Hey Nice stuff, just subscribed to your channel. I have one query, currently we are using Browserstack for remote execution can we replace it by using docker and different browser/versions? In short, using Docker can we replace Browserstack dependency?

pranav
Автор

I understood using docker, we can run tests using Linx OS alone in different browsers at different versions. Am I correct Anna ??

ArunKumararunpgb
Автор

hey, awesome tutorial.
1. Each container is like an isolated computer right, so how are they getting internet access? (Im bit confused here)
2. So we never need to run our tests using on windows? Or companies do test automation in Linux alone?
3. When you use --link in docker, what exactly happens? How is the hub and node getting liked when we your this?

okey
Автор

Hi Amuthan, thank for for the amazing content. Quick question regarding browser versions. How can we implement intelligently logic to use browser version if it's specified in excel column version, otherwise use latest?
Thank you!!!

maxsudik
Автор

I am getting exception "the process started from chrome location /user/bin/google-chrome is no longer running, so chrome driver is assuming that chrome has crashed " please help

kritikasahare
Автор

Hi Amuthan
After seeing your video, I have manged to run my selenium test in selenium grid with docker container. Thank you so much for your video 😊 . My question is how could we able to see the container logs while the test execution and also if there is any way to get the extend report and copy it in to our local machine

deepanair
Автор

Hey amuthan
Can you please make a video on how we can run a docker batch file before running our automation test so that we dont need to initiate docker everytime.?

piyushmathpal
Автор

Hi Amuthan
I have managed to set up the selenium grid using docker containers. But when I run the test I am getting exception "the process started from chrome location /user/bin/google-chrome is no longer running, so chrome driver is assuming that chrome has crashed "
Could you please let me know how to fix this. 🙏thanks

deepanair
Автор

Hi Amuthan, could you pls help me. At this point of implementation, I was following everything you did. And here I was trying to run localy tests in firefox and the browser is not invoked. That started happening after I implemented method that accepts version as an argument. Chrome works fine with versions, firefox is not.
below is the stack trace. Do you have any idea why it is happening and how to fix that?
Huge thank you in advance!!!

at
at
at Method)
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at
at

maxsudik
Автор

what is the Git Hub URL of ur framework.

ARCHIT
Автор

I see there is an issue with version 4.1.0 (revision aea69daa1c), nodes are unable to connect to selenium/hub even with docker-compose.

Couldn't register this node: The hub is down or not responding: The hub responded with 404

Worked fine with 3.141.59 hub

Payazee
Автор

thanks Amuthan Can you please share github link for the same

farazdasurkar
join shbcf.ru