
Explore web automation with Playwright, from setting up projects to writing scripts and handling waits and timeouts. Compare test frameworks and CI integration to optimize Playwright usage.
Set up a Playwright project by installing Node.js and npm, and choosing an IDE like VS Code. Initialize package.json and install Playwright with npm install playwright to begin testing.
Select a browser type such as Chromium, Firefox, or WebKit, launch a browser instance (headless), create a browser context for isolated sessions, and navigate pages to interact with elements.
Write your first Playwright script by using an arrow function IIFE with async/await, importing chromium, launching a browser, creating a page, navigating to the TodoMVC app, and taking a screenshot.
Identify and interact with UI elements, extract properties to verify state, and assert outcomes using Playwright, while learning navigation, waits, and timeouts as core skills.
Identify web elements efficiently with Playwright by using CSS selectors, XPath selectors, and HTML attributes, then use page.$() and $$() to interact within forms and subtrees.
Extract element attributes in Playwright using page.$eval and $$eval to read innerText, textContent, innerHTML, and getAttribute values from selectors, frames, and elementHandle.
Learn to navigate with Playwright using goto(url) with waitUntil options, verify page title and URL with title() and url(), and navigate back, forward, and reload using goBack(), goForward(), and reload().
Master waits and timeouts in Playwright by replacing static waits with waitForSelector, waitForNavigation, waitForEvent, and waitForLoadState to improve stability, while configuring default timeouts at page, context, and browser context levels.
Gain confidence in Playwright as you explore practical tips and small tools to enhance your web automation projects, with independent tutorials you can tackle in any order.
Capture screenshots after test steps to diagnose failures and save them to disk. Record test videos with playwright-video using saveVideo and stop automatically when the page closes.
Upload and download files with Playwright by using setInputFiles on a page selector, enable downloads with acceptDownloads, await the download event, and save the file with saveAs.
Reuse authentication state in Playwright by saving storage state after logging in and loading it in a new context, enabling JWT token sign-in across multiple scenarios.
Explore device and environment emulation in Playwright, including viewport sizing, language and time zone settings, and geolocation permissions. Simulate mobile devices like iPhone 11 Pro to test apps.
Master the Playwright CLI to generate code by recording actions and taking screenshots. Explore opening pages in different browsers, inspecting elements, and generating videos across sessions.
Explore debugging Playwright scripts with built-in and browser tools, pause and slow execution, inspect elements, and use VS Code or browser dev tools for clear, headful debugging.
Explore an interactive playground for Playwright with a built-in editor and runnable examples. Learn commands hands-on without an IDE, install, or setup, and compose fresh scripts.
Use the Headless Recorder extension to capture browser actions, generate a Playwright script, and edit it to automate tasks like adding and completing items in a todo app.
Discover how to get css selectors and xpaths quickly with SelectorsHub. This browser extension copies values, shows element counts, and helps flag errors for reliable automation in Playwright workflows.
Active monitor web apps with Checkly, running Playwright and Puppeteer checks, schedule frequent runs, view a dashboard, and integrate with open source tools and CI pipelines.
Use Playwright to generate a pdf of a webpage, save it to the project root with a chosen filename, and tailor format, orientation, header and footer, and page range.
Set up playwright test, install browsers, and create a first test in the test folder that logs into the conduit app. Explore fixtures, assertions, test hooks, and annotations.
Explore playwright test essentials, including fixtures and expect library, with before all/after all and before each/after each hooks, and regression via pixel-match screenshots across browsers in headless or headed mode.
Configure Playwright with local and global settings, using a config file to set viewports and browser options. Manage multiple projects in Chromium, Firefox, and WebKit with screenshots, videos, and retries.
Learn how playwright runs tests in parallel using multiple worker processes to reduce execution time, and how sharding splits tests across machines for faster, distributed execution.
Set up jest with Playwright by creating a new project, installing jest, jest-playwright-preset, and playwright, configuring jest.config.js, and updating package.json scripts for running tests.
Create your first test by placing files in a __tests__ folder or naming them .spec.js/.test.js, then use describe and async test blocks while Jest-playwright handles browser setup.
Learn to generate informative html reports for test execution using jest-html-reporters in Playwright, configure jest.config.js, run tests in headless mode, and attach screenshots for failing tests.
Install Java, set path, and verify with java -version and javac -version, install Maven, and prepare a Java IDE to write Playwright tests with JUnit.
Explore parallel execution in Playwright by configuring multi-class tests with class-level fixtures and dynamic parallelism, using a dynamic factor of 0.5 to run tests concurrently based on available CPU cores.
Explore bite-sized, stand-alone tutorials to build a stable, maintainable web automation framework with Playwright, covering record and playback, page object model, data-driven testing, and BDD with Cucumber.
Apply the page object model with Playwright to create a login page object as an element repository, exposing methods for email, password, and sign-in to reduce duplication and improve maintenance.
Learn to use Cucumber with Playwright to implement bdd-driven test automation by creating features and step definitions, wiring async test code, and employing beforeAll and afterAll hooks.
Learn to troubleshoot Playwright tests with the root cause setup, which captures screenshots, HAR files, and console logs for each run, and view results in a browser.
Explore integrating allure reports with Playwright to generate structured, visual test reports, including setup, browser lifecycle, screenshots, and report customization with tags and features.
Master expect-playwright assertions to validate selectors, element counts, text content (contains or exact), and input values, with optional timeouts and negation support.
CodeceptJS delivers end-to-end testing with a driver-agnostic, cucumber-like framework that defaults to Playwright, supports parallel and multi-session runs, page object models, and rich reports for web and mobile.
Learn how to create a GitHub Actions workflow to automate Playwright tests, including setting up the repo, configuring node version 14, installing dependencies, and running end-to-end tests on push.
Learn to run a playwright test in Azure DevOps by creating a public project, configuring a release pipeline with a GitHub artifact, and installing node to execute end-to-end tests.
Import a GitHub project into GitLab, set up a CI/CD pipeline with a stage test using the Playwright Docker image, install browsers with Playwright install, and run the test.
Discover essential JavaScript concepts for any JavaScript based testing framework. This introduction references the Chirikure YouTube channel and a Cypress playlist as learning resources.
Discover what JavaScript is, how it differs from Java, and how browser engines like V8, Chakra, and SpiderMonkey, along with Node and other runtimes, execute it outside the browser.
Install Node.js (prefer the long-term support version) and set up Visual Studio Code, then verify the installation with node -v and start coding in a suitable editor.
Learn the basics of JavaScript by creating a project, declaring variables with let and const, using console output, and mastering conditionals, loops, and functions with parameters and return values.
Learn to create and edit package.json with npm, manage dependencies, and understand package-lock.json and node_modules. Explore semantic versioning (major, minor, patch), and scripts for development, including dev dependencies.
Discover how to convert regular functions into arrow functions, using function expressions. Learn about single-parameter forms, single-statement bodies, and dropping the return keyword for concise code.
Explore the Mocha test framework and the Chai assertion library, including describe/it structure, assertion styles, and hooks, to build, run, and report JavaScript tests.
Learn how immediately invoked function expressions execute on creation, using a wrapped function expression and trailing parentheses to avoid global scope pollution and enable garbage collection.
Explore callbacks, promises, and async-await in JavaScript to control asynchronous execution, understand timing with setTimeout, and compare readability from callback hell to cleaner promise-based flows.
Microsoft's Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast. It is developed by the same team that developed Puppeteer and hence it is leveled up Puppeteer.
This course will teach you Playwright, which is believed to become one of the most popular web automation tools in the near future. The course will start from the very basics, you do not need to have any experience with any web automation tool, test frameworks and not even JavaScript. Everything you will need is covered in the course.
Be an early adopter and stay ahead in the game.