Talk Python To Me

#368: End-to-End Web Testing with Playwright

06.03.2022 - By Michael Kennedy (@mkennedy)Play

Download our free app to listen on your phone

Download on the App StoreGet it on Google Play

How do you test whether your web sites are working well? Unit tests are great. But for web apps, the number of pieces that have to click together "just so" are many. You have databases, server code (such as a Flask app), server templates (Jinja for example), CSS, Javascript, and even deployment topologies (think nginx + uvicorn). Unit tests won't cover all of that integration. But Playwright does. Playwright is a modern, Pythonic take on testing webs apps using code driving a browser core to interact with web apps the way real users and API clients do. I think you'll find a lot to like there. And we have Pandy Knight from Automation Panda here to break it down for us.

More episodes from Talk Python To Me