Automated E2E Testing with Playwright and Python
summary
Demonstrates using Playwright with Python to automate an end-to-end TODO-list scenario: open the demo, type “viajar a Python USA”, press Enter, and assert the item appears using PyTest page fixture. Explains that Playwright controls browser engines (not drivers), installs with `playwright install`, can capture screenshots, video and a trace.zip inspected via `playwright show-trace`, and recommends the Page Object Model, test-data fixtures and CI integration; also cites usage/download stats comparing Playwright and Selenium.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 0:43Testing importance
- 3:12QA role evolution
- 5:22Python for test automation
- 7:26Playwright vs Selenium
- 9:57Playwright architecture
- 11:05Playwright setup with Python
- 13:35Todo list automation demo
- 15:44Headed vs headless tests
- 16:28Mobile emulation
- 17:09Traces, videos, screenshots
- 18:14Page Object Model
- 20:21Fixtures and JSON data
- 21:47CI/CD integration
- 22:29Additional resources
related talks
03h 15mAwesome Modern Web Testing with Playwright
09mWeb Testing with Playwright and Python in 10 Minutes Flat
18mPlaywright in 1/2 hour. Or less.
41mTesting Web Applications with Playwright
35mState of end-to-end testing for modern web applications
39mTesting Web Applications with Playwright
30mTesting Web Applications with Playwright
30mPlaywright: The Tool That Will Revolutionize End-to-End Testing
