From the course: DevOps Foundations: Your First Project

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding Selenium service to Docker Compose

Adding Selenium service to Docker Compose

From the course: DevOps Foundations: Your First Project

Start my 1-month free trial

Adding Selenium service to Docker Compose

- [Narrator] The last thing that we need to do before we run our tests is create that Selenium service that I mentioned earlier. So, to do that let's go ahead and open our Docker Compose YAML. As you can see we already have Selenium hosts and port to find, we just need to define the Selenium containers. So let's go ahead and do that. Heres' Selenium. And then we need to tell it what image we want to use, so let's quickly browse the Docker Hub, to find the appropriate image that we would like to use here. So Selenium, and we have a couple options, all of which are published by the Selenium team. We have Selenium Node-Chrome, I am more of a Chrome guy so I think that's what I'll select. And then we have this Chrome debug one which is interesting. So the difference between Chrome and Chrome debug, is basically a VNC server. So Chrome debug includes a VNC server, which is really handy because it lets you see…

Contents