Building robust tests for any software that you create is a necessity. If you build web applications with Python, you’ve probably wanted to build meticulous front-end tests to test the final outcome as it appears a browser.
In this guide, we provide a step-by-step tutorial to perform front-end testing of web applications built with Python using Selenium. Selenium is a free and open-source tool for building tests for web applications through existing browsers. Selenium allows you to write detailed tests, which involve multiple interactions with a website on a selected browser. In this guide, we’ll work with two browsers: Google Chrome and its headless version.