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, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access