Monitor errors and performance issues with Sentry.io

End-to-End Web Testing with Playwright

Episode #368, published Fri, Jun 3, 2022, recorded Thu, May 12, 2022

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.

Watch this episode on YouTube
Play on YouTube
Watch the live stream


Links from the show

Pandy's Twitter: @AutomationPanda
Pandy's blog: automationpanda.com
Playwright: playwright.dev
Pandy's Playwright tutorial: github.com
pytest: pytest.org
applitools: applitools.com
Screenplay package: pypi.org/project/screenplay
Watch this episode on YouTube: youtube.com
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to us on YouTube: youtube.com
Follow Talk Python on Mastodon: talkpython
Follow Michael on Mastodon: mkennedy

Want to go deeper? Check out our courses

Andrew Knight
Andrew Knight
Andrew Knight is a software engineer. His specialty is building test automation systems from the ground up, which involves both software development for test code as well as the infrastructure to run it in continuous integration. He also does Web dev and tool dev from time to time, and I love databases and compiler theory. His main programming languages are Python, Java, C#, and JavaScript, but Andrew has worked with others and can pick up new ones quickly. He holds a Computer Science BS/MS from RIT, and he is currently employed by PrecisionLender in Cary, NC.
Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon