Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python
With Packt Publishing
Duration: 10h 9m
Skill level: Intermediate
Released: 2/27/2026
Course details
Unlock the full potential of web automation testing using Playwright and Pytest in Python. This course takes you from installation and setup to advanced testing workflows, guiding you through browser automation, UI interaction, and reliable locator strategies. Learn how to simulate real-world user actions, manage asynchronous events, and validate application behavior through dynamic and robust tests. With extensive Pytest integration, you'll structure scalable test suites using fixtures, scopes, and reusable components. Explore file uploads, keyboard events, event listeners, and assertions with hands-on examples. Build advanced frameworks using the Page Object Model, handle authentication scenarios, and test network and API flows effectively. You’ll also optimize performance through parallel test execution, request interception, and JavaScript disabling. Implement CI/CD automation with GitHub Actions, apply data-driven techniques with pytest.mark.parametrize, and dive into BDD workflows using Behave. Designed for technical professionals, this course helps you conquer modern testing processes with practical, maintainable, and production-ready code.
Skills you’ll gain
Earn a sharable certificate
Share what you’ve learned, and be a standout professional in your desired industry with a certificate showcasing your knowledge gained from the course.
Learning
LinkedIn Learning
Certificate of Completion
-
Showcase on your LinkedIn profile under “Licenses and Certificate” section
-
Download or print out as PDF to share with others
-
Share as image online to demonstrate your skill
Meet the instructor
Contents
-
-
(Locked)
Playwright Python REPL8m 40s
-
(Locked)
Locator role8m 26s
-
(Locked)
Locators input field3m 39s
-
(Locked)
Locator text4m 6s
-
(Locked)
Locator alt text2m 22s
-
(Locked)
Locator title1m 56s
-
(Locked)
Locating with CSS selectors10m 7s
-
(Locked)
CSS selectors hierarchy8m 10s
-
(Locked)
CSS selectors pseudo classes9m
-
(Locked)
Locators XPath6m 5s
-
(Locked)
XPath functions7m 4s
-
(Locked)
Other locators10m 59s
-
(Locked)
-
-
(Locked)
UI testing dynamic ID3m 17s
-
(Locked)
UI testing class attribute3m 19s
-
(Locked)
UI testing hidden layer5m 2s
-
(Locked)
UI testing load delay3m 23s
-
(Locked)
UI testing AJAX request2m 25s
-
(Locked)
UI testing click action2m 4s
-
(Locked)
UI testing input field2m 34s
-
(Locked)
UI testing scrollbars3m 5s
-
(Locked)
UI testing dynamic table9m 45s
-
(Locked)
UI testing verify text2m 5s
-
(Locked)
UI testing progress bar5m 28s
-
(Locked)
UI testing visibility7m 19s
-
(Locked)
UI testing app login5m 30s
-
(Locked)
UI testing mouse hover3m 49s
-
(Locked)
UI testing nbsp character2m 14s
-
(Locked)
UI testing overlapped4m 40s
-
(Locked)
What’s included
- Practice while you learn 1 exercise file
- Learn on the go Access on tablet and phone