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
From the course: DevOps Foundations: Your First Project
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Setting up your test5m 31s
-
(Locked)
Setting up your Docker Compose service3m 4s
-
(Locked)
Creating the Dockerfile6m 58s
-
(Locked)
Running the test2m 3s
-
(Locked)
Identifying and testing an element4m 14s
-
(Locked)
Setting up Selenium8m 33s
-
(Locked)
Adding Selenium service to Docker Compose2m 23s
-
(Locked)
Running your test with Selenium3m 2s
-
(Locked)
-
-
-