Build a Real-World Enterprise Test Framework with Playwright Python
Build an enterprise Playwright Python framework: environments, page objects, API client, factories, login once, logging, test IDs, failure artifacts, JUnit.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Build an enterprise Playwright Python framework: environments, page objects, API client, factories, login once, logging, test IDs, failure artifacts, JUnit.
Write BDD tests with pytest-bdd and Playwright Python: Gherkin features, step definitions, parsers, Scenario Outline, data tables, tags and generating steps.
Practical design patterns for Playwright Python frameworks: factories, builders, factory fixtures, a facade for user journeys, strategies for login and config.
Organise a Playwright Python framework: folder structure, pyproject.toml settings, layered conftest.py files, markers, config, pinned versions and naming.
Build a Page Object Model in Playwright Python step by step: page classes, locators, actions that return pages, components, fixtures and best practices.
Make Playwright Python UI tests faster and stronger with API steps: cookies shared with page.request, API login for the browser, UI vs API checks, fast setup.
Test REST APIs with Playwright Python's APIRequestContext: GET, POST, PUT, PATCH, DELETE, query params, auth headers, Bearer tokens, 422 errors and cleanup.
Record real API traffic to a HAR file and replay it in Playwright Python tests: route_from_har, update mode, not_found, edited HARs and an --update-har flag.
Mock network requests in Playwright Python with page.route: fake JSON, server errors, offline, slow APIs, modified responses, request checks and ad blocking.
Log in once and reuse it in Playwright Python: storage_state, what it saves and misses, session fixtures, several roles, expiry, xdist workers and safety.
Test mobile layouts with Playwright Python: --device, playwright.devices, viewport, touch and tap, scale factor, geolocation, locale, dark mode and landscape.
Run Playwright Python tests in Chromium, Firefox and WebKit: --browser, Chrome and Edge channels, browser_name, per-browser launch args and expectations.
Take free timed mock tests with answers and explanations.