O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Headless browser testing

There is just one problem we have not tackled yet. First, it is pretty annoying that you need to have all those browser windows open to test your code. Second, our server does not even have a user interface, so how is it going to open any browser? I will get back to the server issue later: even if we had a graphical interface, we would still have problems with IE, Edge, and Safari, so we need to tackle all of that. However, I am going to tackle that first issue right here.

While it is not necessarily a problem that we have multiple browser windows running, they come with a trade-off. First, of course, they take up space on your screen. You have to work around them, make sure you do not accidentally close any of them, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required