What’s included in SitePoint Premium?

Front-end Testing in Python: A Detailed Guide

What’s included in SitePoint Premium?

  • Read offline (beta)
  • 250+ books
  • 120+ courses
  • New content added weekly
  • Ad Free SitePoint
  • Cancel anytime
  • 30 Days Money Back Guarantee!


    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.

    available in: