Skip to content
Medium level2 days

Web test automation with Playwright

Web test automation with Playwright is a 2 days medium level training for JS engineers, held onsite or online, for 700€ per participant. Hands-on Playwright training for JavaScript and TypeScript engineers.

Fast, stable browser tests with @playwright/test

A two-day, hands-on course for engineering teams that write browser and API tests with Playwright Test in TypeScript or JavaScript. You learn the test runner the way the Playwright docs teach it: locators, auto-waiting, web-first assertions, fixtures and page object models. Then you run the suite in parallel and in CI. It suits teams new to Playwright, and teams with existing tests that want them faster and less flaky.

After the course you can write tests with role-based locators and auto-retrying assertions. You can structure a suite with fixtures, page object models and reused authentication state. You can also test APIs, mock network calls, and run the suite in parallel on CI with retries, sharding, reporters and the trace viewer.

Audience
JS Engineers
Type
Training
Duration
2 days
Group
10 persons
Level
Medium
Theory / practice
20/80
Place
Onsite, online
Fee per participant
700€

What does the Web test automation with Playwright training cover?

  1. 01

    First tests

    • Installing Playwright Test and its browsers
    • Writing a first test with test and expect
    • Test isolation and test hooks
    • Running tests from the command line, in headed mode and in UI Mode
    • Generating tests with the test generator
    • Debugging with the Playwright Inspector
  2. 02

    Locators and assertions

    • Locating elements by role, label, text and test id
    • Filtering and chaining locators
    • Locating by CSS or XPath, and when to avoid it
    • Auto-waiting and actionability checks
    • Web-first, auto-retrying assertions
    • Soft assertions, expect.poll and expect.toPass
    • Best practices: test user-visible behavior
  3. 03

    Structuring a suite

    • Built-in fixtures and creating your own
    • Worker-scoped and automatic fixtures
    • Page object models
    • Parameterized tests
    • Projects for several browsers and environments
    • Global setup with project dependencies
    • Reusing authentication state across tests
  4. 04

    APIs, network and visual checks

    • API testing with the request context
    • Setting up preconditions and checking postconditions through the API
    • Authenticating with an API request
    • Mocking APIs and modifying responses
    • Visual comparisons with screenshots
  5. 05

    Scale, CI and AI agents

    • Parallelism and worker processes
    • Retries and finding flaky tests
    • Sharding tests between machines and merging reports
    • Reporters: HTML, JUnit and blob
    • Analyzing failures with the trace viewer
    • Setting up CI with GitHub Actions
    • Playwright Test Agents: planner, generator and healer

Frequently asked questions

What should I install before the course?

Node.js: the latest 22.x, 24.x or 26.x release (the Playwright installation requirement for the current release, 1.65, https://playwright.dev/docs/intro)

A supported OS: Windows 11 or later, Windows Server 2019 or later, or WSL; macOS 14 (Sonoma) or later; Debian 12 or 13, or Ubuntu 22.04, 24.04 or 26.04 (x86-64 or arm64)

npm, installed with Node.js

A code editor of your choice, such as VS Code

Is this the right course for me?

It is for JavaScript and TypeScript engineers who want to write and run tests with Playwright Test. If your team already uses CodeceptJS, take Web test automation with CodeceptJS: CodeceptJS can run on Playwright, so you keep readable scenarios and use the Playwright backend. If you need to run many browsers at once, see Web test automation infrastructure. If you would rather have someone build the tests for you, our Playwright test automation service at /services/playwright-test-automation/ does that work.

Will I have support after the course?

Yes. For 30 days after the course, email us your questions about what you practiced in Web test automation with Playwright. We answer by email.

Apply

Within one week after you apply we send a confirmation email if you are admitted. We accept up to 12 participants.

10% off for groups of 8 or more
We use your details only to answer you. Privacy policy

Related trainings

Train your whole team at once.