From the course: Software Testing Foundations: Continuous Testing and DevOps

Unlock the full course today

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

How to run Selenium in CI

How to run Selenium in CI - Jenkins Tutorial

From the course: Software Testing Foundations: Continuous Testing and DevOps

Start my 1-month free trial

How to run Selenium in CI

- [Teacher] If you're using browser automation to test your front-end code, you'll need to do just a little bit of work to get it running in your CI solution. It may take a little more time upfront, but having browser-based tests ensures that you know that your UI will work when users interact with it. The main issue with running browser automation and continuous testing, tends to be running headlessly. That is, without a monitor. Solutions that use only the Chrome browser can take advantage of Crome's built-in headless functionality. If you anticipate running the same test code in multiple browsers, then the great majority of the test frameworks you can choose from, will be using Selenium behind the scenes. It can take a little bit more work to get tests running headlessly in Selenium. There are two main do-it-yourself options. The first option is just to use Chrome's build-in headless mode and run headless…

Contents