Testing Background Network Requests with Selenium
Few words are required to express the importance of e2e testing for any piece of software, and this definitely holds for frontend UIs. Testing is hard, but it pays back if done properly. Selenium gives you many tools to automatically test your web application on real browsers. One thing it doesn’t provide is the access to the browser’s network activity log. That leaves us with the mere ability to look at the HTML elements and trust that the network activity in the background is working as we’d expected.