Code to run Selenium grid test on multiple docker containers
In the last post we discussed how to setup selenium grid containers with Docker, in this post we will discuss how to run test on multiple docker containers in parallel using docker command.
Here is the complete source code of this article
https://github.com/executeautomation/SeleniumParallelSampleSample snippet
https://gist.github.com/executeautomation/547e69ecf04db443cdfacc10340d650a
Here is the complete video of the above discussion
Thanks for reading the post and watching the video!!!
Please leave your comments and let me know if there is anything I should update in this post.
Thanks,
Karthik KK
Post Author:
Karthik kk
5 Replies to “Code to run Selenium grid test on multiple docker containers”
Hi Karthik,
I watched all the videos of Docker and Selenium grid with docker. Can you please tell me how to create a container with specific browser version or specific OS version
Hi Karthik,
I watched all the videos of Docker and Selenium grid with docker. Can you please tell me how to create a container with specific browser version or specific OS version
You can do via Docker Compose, which we have not covered until creating our own image though, should be done soon 🙂
Hi Karthik,
When you are planning to cover the topic of creating our own images so that we can run tests on different browser version.
Regards,
Ashwin Karangutkar
Not very soon though, but should be doing it in future, since I am tied up with another great course release !
Thanks,
Karthik KK
Hi Karthik,
I want link two container from Kitematic.
First Container is of Hub and Second one is of Firefox.