🐍
QA Automation Track

Playwright with Python

The industry standard for E2E testing and scraping. Learn to write maintainable and blistering fast workflows with Playwright & Python.

13

Modules

5 hrs

Total Duration

Free

Certificate

Course Modules

Complete all 13 modules to earn your certificate.

Module 1
15 min

Environment Setup (Python)

Configure Python, Pip, and VS Code for professional automation.

Python 3.8+ setup Pip & Venv VS Code Python extension Installing browsers
Module 2
20 min

Python Basics for QA

Master the Python fundamentals needed for Selenium/Playwright scripts.

Lists & Dictionaries For Loops If/Else conditions Function arguments
Module 3
15 min

Lesson 1: Introduction to Playwright

Understand the Python sync/async architecture and write your first script.

Sync vs Async API Fixtures (pytest) First Python test Running headless
Module 4
25 min

Lesson 2: Functions and Selectors

Master Playwright's powerful locator engine to find any element reliably.

Role-based locators Data-testid attributes Chaining & filtering locators Handling dynamic elements
Module 5
20 min

Lesson 3: Playwright Features

Advanced features like Pytest integration, Screenshots, and Debugging.

pytest-playwright plugin Screenshot & Video recording PWDEBUG inspector Trace Viewer usage
Module 6
20 min

Lesson 4: Handle Inputs and Buttons

Interacting with complex form elements using Pythonic syntax.

Text inputs & keyboard Hovering & Double clicks Force clicking Actionability checks
Module 7
20 min

Lesson 5: Handle Alerts and Dropdowns

Automating dialogs and native select menus in Python.

Dialog listeners Select option by label Multiselect handling Sync vs Async dialogs
Module 8
25 min

Lesson 6: Handle Frames and Windows

Navigating through iFrames and multiple browser tabs.

frame_locator API Multi-page contexts Popup window handling Nested frame access
Module 9
20 min

Lesson 7: Date Pickers in Playwright

Strategies for automating complex calendar components.

Input injection Visual navigation Datetime module usage Handling dynamic calendars
Module 10
20 min

Lesson 8: Upload and Download Files

Handling file systems and server-side interactions.

set_input_files API expect_download context Saving file streams File path handling
Module 11
30 min

Lesson 9: Page Object Model

Architect your test suite for maintainability using Python classes.

POM class structure Element encapsulation Behavioral methods Project organization
Module 12
25 min

Lesson 10: Playwright Fixtures

Leveraging Pytest fixtures for advanced browser setup.

Custom pytest fixtures Setup/Teardown logic Authenticated contexts Fixture scope
Module 13
25 min

Lesson 11: Cross Browser Testing on Cloud

Run Playwright tests in GitHub Actions and cloud grids.

GitHub workflow automation Parallel execution (xdist) Cloud grid integration HTML reporting

Practice What You Learn

Use our dedicated Playwright E-Commerce Playground to test your skills against a real-world app.