Selenium is a popular tool for automating web browsers. This is very useful for writing and running tests against things that are rendered within a browser. In this video, learn how to configure Docker Compose to run Selenium and a standalone Chrome browser within it.
- [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 the tests being run … as they're run. …
- Writing your first Dockerfile
- Using Docker Compose
- Testing your app with RSpec, Capybara, and Selenium
- Writing Terraform code
- Deploying a website into AWS S3
- Writing and running integration tests
- Writing a CI/CD pipeline with Jenkins
Skill Level Beginner
1. The Project/The Mission
Your application, pre-DevOps2m 59s
2. Testing Locally with Docker
3. Testing Your App with RSpec, Capybara, and Selenium
4. Infrastructure as Code with Terraform
5. CI/CD as Code with Jenkins
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.