Selenium Framework - Part 48 - Run Selenium Tests in Standalone Chrome Container

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

In this video, we will see the below topics,

How to pull selenium/standalone-chrome image?
How to start a container for this image?
How to run the test in the created container?
What is port mapping?
Understanding the port mapping.
Executing parallel tests.
What is the problem with this approach?
Рекомендации по теме
Комментарии
Автор

Able to run my first test on docker. Observed that testng took 31 second and without it time taken was 26 seconds. Thanks to you.. Keep making videos

Udzial
Автор

Super stuff, very useful . Keep going (y).

sparshpandey
Автор

Can we run the same commands in docker playground lab and expect our automation scripts to run?

piyushmathpal
Автор

Thanks bro for sharing this knowledgeable video 😊

amansharma-gjeu
Автор

I need to execute selenium tests on the Chrome browser from a dockerized java application. Can this same method be extended to meet this need or should a different approach be used?

sixsilentmen
Автор

Are there any session for jenkis.How to create pipeline and integrate with GitHub and docker?

hashinpk
Автор

Hi Amuthan,

I am facing site not it says 'this site can not be reached' issue eventhough In logs it says selenium server is up and running in port 4444.

I tried to access with localhost and using my machine IP also but still faced same issue. Can you advise on this.

abhijitbiradar
Автор

Hi Amuthan,
Your videos are very informative. I tried creating selenium server through docker. In logs it says selenium server is up and running in port 4444. But when I hit the localhost:4444 url, it says 'this site can not be reached'. I am not sure what I am missing. Please help if possible.
Thanks

pavithrasenthilkumar
Автор

Need small help, i am getting error " The requested image's platform (linux/amd64) does not match the detected host platform (windows/amd64) and no specific platform was requested" I did "switch to linux container" from docker icon after right click... still i could see option of "Switch to linux container"

manishpatidar
Автор

I need to run selenium inside kubernetes, should i also use selenium/standalone-chrome image? Im really confused because from other resources they are using grid and hub

jovelynobias
Автор

Great video Amuthan. while running tests in parallel using docker should we ensure that our browser is thread safe ?

mjjtube
Автор

Hi Amuthan, Great video, i tried the same steps today itseems the chromestandalone is updated with selenium 4 grid and there is slight difference is selenium grid UI but the code works fine. Also i just want to know can we spin up a linux container from windows and install docker in it like inner container is it possible instead of AWS or any cloud solutions your thoughts please.

vinothkumars
Автор

Getting Error

Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

digvijaytikka
Автор

My problem is don't have any localhost for pair these port.
Am I missing something about create localhost ? I haven't seen it until part 43.
Plz mention me part for creating that. Thank you friend

teo_ke