Playwright Codegen: Record Tests, Pick Locators and Generate Code
Learn Playwright codegen: record tests, pick locators, add assertions, useful options, record logged in, VS Code recording, and refactoring recorded code.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Learn Playwright codegen: record tests, pick locators, add assertions, useful options, record logged in, VS Code recording, and refactoring recorded code.
Master Playwright actions with TypeScript: click options, fill vs pressSequentially, keyboard keys, checkboxes, hover, drag, scroll and reading values.
Use CSS selectors and XPath in Playwright: cheat sheets, XPath axes, table examples, chaining and filters, shadow DOM, and when to choose CSS or XPath.
Learn JavaScript Promises and async/await for Playwright: promise states, then/catch, try/catch, Promise.all, and the async mistakes that cause flaky tests.
Playwright CLI commands: run a specific test or file, filter by tag, choose browsers, headed and UI mode, debug, retries, reports and npm scripts.
playwright.config.ts explained: timeouts, workers, retries, reporters, baseURL, screenshots, video, trace, projects and webServer, with a full example.
Write your first Playwright test in TypeScript: test anatomy, a real login test, running it headed or in VS Code, reading failures and the HTML report.
Install Playwright with TypeScript step by step: Node.js, VS Code, npm init playwright, running sample tests, the VS Code extension and common errors.
What is Playwright? A beginner guide to its features, architecture, browser vs context vs page, supported browsers and languages, and limitations.
Learn how to handle alerts, confirm and prompt dialogs, new tabs and popups, dropdowns, iframes, file uploads, hover and drag and drop in Playwright with runnable TypeScript examples.
Master Playwright waits: auto-waiting, web-first assertions, waitFor, waitForLoadState, waitForURL, waitForResponse, waitForTimeout, expect.poll, timeouts and fixing timeout errors.
Playwright vs Selenium vs Cypress compared: architecture, languages, browsers, waits, parallel runs, API testing, the same test in all three, ease of learning and which to choose.
Take free timed mock tests with answers and explanations.