New: Playwright Modern Automation Engineer program - enrolment opening soon

Playwright engineering · Understand. Build. Break. Debug. Scale. Explain.

Playwright Modern Automation Engineer

An online Playwright program that takes you from JavaScript and TypeScript foundations to UI and API automation, framework design, parallel execution, debugging, CI/CD and Docker, with three real projects and interview preparation.

Enrolment details coming soon

What you will master

Foundations
  • JavaScript
  • TypeScript
Automation
  • Playwright
  • API testing
Engineering
  • Framework design
  • CI/CD
  • Docker
12Chapters
36Phases
3Major projects
525+Topics covered

Full curriculum

Chapter 1

Start with the foundations

Automation mindset, JavaScript, async code and TypeScript.

4 phases · 91 topics

01 Modern Test Automation FoundationsBefore writing code, understand why automation exists. 14 topics

Before writing code, understand why automation exists.

You will learn

  • What is software test automation?
  • Why organisations automate testing
  • Manual testing vs automation testing
  • What should be automated?
  • What should not be automated?
  • UI testing vs API testing
  • Smoke, sanity and regression testing
  • Risk-based test automation
  • Test pyramid and testing layers
  • Quality Engineering mindset
  • QA vs QE vs SDET
  • Why automation frameworks become difficult to maintain
  • Selenium vs Playwright mindset
  • JavaScript vs TypeScript for Playwright

Mutate Challenge

You will receive real testing scenarios and decide:

UI test? API test? Manual test? Or don't automate?

02 JavaScript for Automation EngineersLearn the JavaScript concepts you actually need for Playwright. 39 topics

Learn the JavaScript concepts you actually need for Playwright.

JavaScript Fundamentals

  • Variables
  • let, const and var
  • Primitive and reference types
  • Operators
  • Type conversion
  • null and undefined
  • Conditional statements
  • Loops

Functions

  • Function declarations
  • Function expressions
  • Arrow functions
  • Parameters
  • Default parameters
  • Return values
  • Scope
  • Lexical scope
  • Scope chaining
  • Closures
  • Callback functions
  • Higher-order functions

Arrays and Objects

  • Arrays
  • Objects
  • Nested objects
  • Arrays of objects
  • Destructuring
  • Spread operator
  • Rest operator
  • map
  • filter
  • find
  • some
  • every
  • reduce
  • Method chaining

Modern JavaScript

  • Template literals
  • Modules
  • Import / Export
  • Error handling
  • Optional chaining
03 Async JavaScript — The Foundation of PlaywrightUnderstand await. Don't just type it. 16 topics

Understand await. Don't just type it.

You will learn

  • Synchronous programming
  • Asynchronous programming
  • Call stack fundamentals
  • Callbacks
  • Promises
  • Promise states
  • Resolve and reject
  • .then()
  • .catch()
  • .finally()
  • Promise chaining
  • Async functions
  • await
  • Error handling
  • Sequential vs parallel execution
  • Promise.all()

And most importantly

Why does Playwright use async/await everywhere?

By the end of this module you should be able to confidently explain code such as:

await page.getByRole('button').click();

rather than simply memorising it.

04 TypeScript for Playwright EngineersYou don't need to become a TypeScript language expert before using Playwright. 22 topics

You don't need to become a TypeScript language expert before using Playwright.

We teach the TypeScript concepts required for modern automation.

Topics include

  • JavaScript vs TypeScript
  • Why TypeScript helps automation
  • Type inference
  • Explicit types
  • Function types
  • Arrays
  • Object types
  • Union types
  • Type aliases
  • Interfaces
  • Interface vs Type
  • Optional properties
  • Optional chaining
  • Enums
  • Generics fundamentals
  • Classes
  • Constructors
  • Access modifiers
  • public
  • private
  • protected
  • readonly

JavaScript → TypeScript Migration

We take working JavaScript automation and progressively convert it into clean TypeScript.

Chapter 2

Meet Playwright

Architecture, your development setup and your first test.

3 phases · 42 topics

05 Playwright ArchitectureBefore learning commands, understand how Playwright works. 16 topics

Before learning commands, understand how Playwright works.

You will understand

  • Playwright architecture
  • Playwright Test
  • Browser
  • Browser Context
  • Page
  • Locator
  • Fixtures
  • Workers
  • Test isolation
  • Browser lifecycle
  • Context lifecycle
  • Page lifecycle
  • Multi-browser architecture
  • Chromium
  • Firefox
  • WebKit

Architecture Flow

  1. Playwright Test
  2. Browser
  3. Browser Context
  4. Page
  5. Locator
06 Playwright Project SetupBuild your automation project like an engineer. 18 topics

Build your automation project like an engineer.

Topics include

  • Installing Node.js
  • Installing Playwright
  • VS Code setup
  • npm fundamentals
  • package.json
  • Dependencies
  • devDependencies
  • npm scripts
  • Playwright configuration
  • Project structure
  • Running tests
  • Headed execution
  • Headless execution
  • Debug mode
  • Environment variables
  • .env
  • .gitignore
  • Git repository setup
07 Your First Playwright Test — Fully ExplainedWe don't just write: 8 topics

We don't just write:

test('login', async ({ page }) => {
  await page.goto('/');
});

We explain

  • What is test?
  • Why is the function async?
  • What is { page }?
  • What is destructuring?
  • Where does page come from?
  • What is a fixture?
  • Why do we use await?
  • What happens if await is removed?

This is where JavaScript knowledge connects directly with Playwright.

Chapter 3

Build reliable UI tests

Locators, auto-waiting, browser interactions and assertions.

4 phases · 80 topics

08 Locators & Element IdentificationLearn how to create stable automation that survives application changes. 22 topics

Learn how to create stable automation that survives application changes.

Topics include

  • Understanding HTML
  • DOM fundamentals
  • Playwright Locator
  • getByRole
  • getByLabel
  • getByPlaceholder
  • getByText
  • getByAltText
  • getByTitle
  • getByTestId
  • CSS selectors
  • XPath
  • Filter
  • has
  • hasText
  • Locator chaining
  • nth
  • Dynamic elements
  • Browser developer tools
  • Playwright Inspector
  • Codegen
  • Locator debugging

Mutate Code Locator Strategy

  1. User-facing locators
  2. Explicit test identifiers
  3. CSS when required
  4. XPath only when genuinely necessary
09 Auto-Waiting & SynchronisationStop solving timing problems with random sleeps. 15 topics

Stop solving timing problems with random sleeps.

Learn

  • Playwright auto-waiting
  • Actionability
  • Visibility
  • Stability
  • Enabled state
  • Event receiving
  • Auto-retrying assertions
  • Timeouts
  • Waiting for URLs
  • Waiting for responses
  • Waiting for UI state
  • Network synchronisation
  • AJAX applications
  • Race conditions
  • Why waitForTimeout() is usually a bad solution

Break-It Lab

You will receive unreliable tests containing fixed waits and redesign them correctly.

10 Browser & UI AutomationMaster real application interactions. 29 topics

Master real application interactions.

Topics include

  • Clicking
  • Typing
  • Clearing
  • Checkboxes
  • Radio buttons
  • Dropdowns
  • Multi-select
  • Keyboard actions
  • Mouse actions
  • Hover
  • Double-click
  • Right-click
  • Drag and drop
  • File uploads
  • File downloads
  • Alerts
  • Confirmations
  • Prompts
  • Multiple tabs
  • Multiple windows
  • Frames
  • iFrames
  • Shadow DOM
  • SVG
  • Calendars
  • Web tables
  • Pagination
  • Infinite scrolling
  • Dynamic applications
11 Assertions & Validation StrategyWriting actions is only half of automation. 14 topics

Writing actions is only half of automation.

The real purpose of a test is validation.

Learn

  • Playwright expect
  • Locator assertions
  • Page assertions
  • Text assertions
  • URL assertions
  • Visibility assertions
  • Negative assertions
  • Soft assertions
  • Custom messages
  • Polling
  • API assertions
  • Screenshot assertions
  • Avoiding unnecessary assertions
  • Business validation vs UI validation
Chapter 4

Design for real applications

Fixtures, authentication, user roles and test data.

3 phases · 45 topics

12 Fixtures — The Heart of Scalable PlaywrightFixtures are one of the most important Playwright concepts. 13 topics

Fixtures are one of the most important Playwright concepts.

Learn

  • Built-in fixtures
  • Page fixture
  • Browser fixture
  • Context fixture
  • Custom fixtures
  • Test-scoped fixtures
  • Worker-scoped fixtures
  • Fixture dependencies
  • Automatic fixtures
  • Fixture setup
  • Fixture teardown
  • Reusable authentication fixtures
  • Avoiding excessive beforeEach

Mutate Challenge

Transform duplicated setup code into reusable fixture architecture.

13 Authentication & Multi-User TestingReal systems have different users and permissions. 13 topics

Real systems have different users and permissions.

Learn

  • UI login
  • API login
  • Storage state
  • Authentication reuse
  • Cookies
  • Local storage
  • Multiple user roles
  • Admin sessions
  • Customer sessions
  • Role-based access control
  • Multiple browser contexts
  • Session isolation
  • Permission testing

Scenario

  1. Admin creates data
  2. Customer views data
  3. Restricted user cannot modify it
14 Test Data EngineeringTest data is one of the biggest challenges in enterprise automation. 19 topics

Test data is one of the biggest challenges in enterprise automation.

Learn

  • Hardcoded test data
  • JSON
  • CSV
  • Environment-specific data
  • Data factories
  • Unique test data
  • Dynamic test data
  • Deterministic data
  • API-generated data
  • Test setup
  • Test cleanup
  • Parallel-safe data
  • Shared state problems
  • Test independence

Database Fundamentals for Automation

  • Why database validation is used
  • SQL fundamentals for testers
  • Read-only database validation
  • UI → API → Database flow
  • When database validation is appropriate
Chapter 5

Connect APIs and UI

REST API testing, hybrid workflows and network mocking.

3 phases · 37 topics

15 API Testing With PlaywrightGo beyond UI automation. 27 topics

Go beyond UI automation.

API Fundamentals

  • HTTP
  • REST
  • Request
  • Response
  • GET
  • POST
  • PUT
  • PATCH
  • DELETE
  • Headers
  • Query parameters
  • Path parameters
  • Status codes
  • JSON
  • Authentication

Playwright API

  • APIRequestContext
  • API fixtures
  • Request configuration
  • Authentication tokens
  • Response parsing
  • Response assertions
  • Negative API testing
  • Error validation
  • API chaining
  • Reusable API clients
  • Schema validation concepts
  • Contract-testing concepts
16 Hybrid UI + API AutomationModern automation shouldn't send everything through the browser. Guided

Modern automation shouldn't send everything through the browser.

Learn how to combine APIs and UI.

Example workflow

  1. API creates test user
  2. UI logs in
  3. UI updates profile
  4. API validates the change
  5. API deletes test data

This approach can make automation faster, cleaner and more reliable.

17 Network Interception & MockingLearn how to control application dependencies. 10 topics

Learn how to control application dependencies.

Topics include

  • Intercept network requests
  • Modify requests
  • Modify responses
  • Mock API responses
  • Simulate server errors
  • Simulate unavailable services
  • Simulate slow responses
  • Block resources
  • Test failure scenarios
  • Deterministic UI testing

You will also learn when mocking should not replace real integration testing.

Chapter 6

Engineer your framework

Page Objects, components, architecture and configuration.

3 phases · 33 topics

18 Page Object Model & Framework DesignDon't build POM because everyone else does. 17 topics

Don't build POM because everyone else does.

Understand the problem it solves.

Learn

  • What is Page Object Model?
  • Benefits
  • Page classes
  • Locators
  • Page actions
  • Reusability
  • Components
  • Common UI components
  • Domain-specific helpers
  • Service objects

We also teach what can go wrong

  • Giant Page Objects
  • BasePage with hundreds of methods
  • Excessive inheritance
  • Hidden assertions
  • Repeated locators
  • Utility dumping grounds
  • Over-engineering

Important Question

Do we actually need a BasePage?

You will learn when the answer is yes and when the answer may be no.

19 Build a Production-Style Playwright FrameworkBuild a framework from the ground up. Guided

Build a framework from the ground up.

Example structure

tests/
pages/
components/
fixtures/
api/
data/
utils/
config/
types/
reports/

But Mutate Code doesn't stop at showing the folders.

For every folder we answer

  1. Why does it exist?
  2. What belongs inside it?
  3. What should NOT be inside it?
  4. What happens if we don't separate responsibilities?
20 Playwright Configuration & ProjectsLearn how professional test suites manage multiple execution requirements. 16 topics

Learn how professional test suites manage multiple execution requirements.

Topics include

  • playwright.config.ts
  • Base URL
  • Timeouts
  • Retries
  • Workers
  • Reporters
  • Trace
  • Screenshot
  • Video
  • Browser projects
  • Mobile projects
  • Environment projects
  • Authentication projects
  • Smoke projects
  • Regression projects
  • Project dependencies
Chapter 7

Run at scale

Parallel-safe tests, sharding and distributed execution.

2 phases · 21 topics

21 Parallel Execution & ScalabilityWriting 20 tests is easy. 13 topics

Writing 20 tests is easy.

Maintaining 2,000 tests is a different engineering problem.

Learn

  • Workers
  • Parallel execution
  • Fully parallel execution
  • Serial execution
  • Test isolation
  • Shared state problems
  • Authentication under parallelism
  • Test data under parallelism
  • Resource conflicts
  • Retries
  • Execution strategy
  • Suite categorisation
  • Smoke vs regression execution
22 Sharding & Distributed ExecutionWhen one machine is no longer enough: 8 topics

When one machine is no longer enough:

  • What is sharding?
  • Why use sharding?
  • Local sharding
  • CI sharding
  • Multiple machines
  • Distributed execution
  • Merging reports
  • Scaling large regression suites
Chapter 8

Break it. Debug it. Fix it.

Trace failures, investigate flaky tests and fix the root cause.

2 phases · 33 topics

23 Debugging Like an Automation EngineerMutate Code Failure Lab 20 topics

Mutate Code Failure Lab

Instead of only showing successful tests, we intentionally break them.

You will investigate

  • Incorrect locator
  • Timing issue
  • Authentication expiry
  • Bad test data
  • Environment issue
  • API failure
  • Overlay issue
  • Network issue
  • Parallel conflict
  • Application defect
  • Automation defect

Debugging tools

  • Playwright Inspector
  • Trace Viewer
  • Screenshots
  • Videos
  • Browser console
  • Network logs
  • Debug mode
  • VS Code breakpoints
  • Logging

The Mutate Failure Framework

When a test fails, ask:

  1. Application?
  2. Automation?
  3. Data?
  4. Environment?
  5. Infrastructure?
24 Flaky Test EngineeringDon't hide flaky tests behind retries. 13 topics

Don't hide flaky tests behind retries.

Understand why they fail.

Learn

  • What is a flaky test?
  • Synchronisation problems
  • Shared state
  • Dynamic selectors
  • Test order dependency
  • Data collisions
  • Network instability
  • Environment instability
  • Retry strategy
  • Retry masking
  • Failure investigation
  • Quarantine concepts
  • Flakiness trends

Flakiness Lab

Students receive intentionally flaky tests and must identify and fix the root cause.

Chapter 9

Ship with your team

Git, pull requests, CI/CD pipelines and Docker.

3 phases · 43 topics

25 Git & Professional Development WorkflowAutomation engineers work as part of engineering teams. 14 topics

Automation engineers work as part of engineering teams.

Learn

  • Git fundamentals
  • Clone
  • Branch
  • Commit
  • Push
  • Pull
  • Merge
  • Merge conflicts
  • Pull Requests
  • Code reviews
  • Branching strategies
  • .gitignore
  • README
  • Version control best practices

Real Workflow

Capstone work will be submitted through Pull Requests.

26 CI/CD for PlaywrightUnderstand where automation fits into software delivery. 18 topics

Understand where automation fits into software delivery.

Topics include

  • What is CI?
  • What is CD?
  • Pipeline
  • Job
  • Stage
  • Trigger
  • Artifact
  • Environment variables
  • Secrets
  • Quality gates

Practical Integration

  • GitHub Actions
  • GitLab CI concepts
  • Jenkins concepts
  • Running smoke tests
  • Running regression
  • Scheduled execution
  • Pull Request validation
  • Publishing test reports
27 Docker for PlaywrightLearn containerised automation fundamentals. 11 topics

Learn containerised automation fundamentals.

Topics include

  • What is Docker?
  • Container vs virtual machine
  • Image
  • Container
  • Dockerfile
  • Playwright Docker images
  • Running Playwright in Docker
  • Environment variables
  • Volumes
  • Reports
  • Docker in CI
Chapter 10

Broaden your testing toolkit

Accessibility, visual testing and performance awareness.

3 phases · 25 topics

28 Accessibility-Aware AutomationBuild better tests by understanding how users interact with applications. 8 topics

Build better tests by understanding how users interact with applications.

Learn

  • Accessibility roles
  • Accessible names
  • Labels
  • Semantic HTML
  • Keyboard navigation
  • Accessibility-first locators
  • Basic automated accessibility checks
  • Why accessibility improves locator stability
29 Visual TestingLearn where visual testing adds value. 10 topics

Learn where visual testing adds value.

Topics include

  • Screenshot testing
  • Baselines
  • Visual comparison
  • Pixel differences
  • Dynamic content
  • Animations
  • Masking
  • Stable visual tests
  • False positives
  • When visual testing should not be used
30 Performance Awareness for QA EngineersThis is not a full performance-testing course. 7 topics

This is not a full performance-testing course.

Instead, understand the performance signals automation engineers should recognise.

Learn

  • Response timing
  • Browser network activity
  • Slow resources
  • Network waterfall fundamentals
  • UI response behaviour
  • Why functional automation is not load testing
  • When specialist performance testing is required
Chapter 11

Work with AI. Migrate with confidence.

Verify AI-assisted code and plan a Selenium migration.

2 phases · 35 topics

31 AI-Assisted Test AutomationAI should assist your engineering. 25 topics

AI should assist your engineering.

It should not replace your engineering judgement.

AI Fundamentals

  • What is an LLM?
  • Tokens
  • Context
  • Hallucinations
  • Prompt fundamentals

AI for QA Engineers

Use AI to help:

  • Analyse requirements
  • Generate test ideas
  • Review automation code
  • Explain failures
  • Generate test data
  • Suggest locators
  • Refactor tests
  • Understand unfamiliar code
  • Draft API scenarios

AI Verification

Learn to detect:

  • Fake selectors
  • Hallucinated APIs
  • Weak assertions
  • Incorrect business assumptions
  • Unsafe generated code

Advanced Concepts

  • AI Agents
  • Tool calling
  • MCP fundamentals
  • AI-assisted Playwright workflows
  • Human-in-the-loop validation
  • Privacy and security considerations

Mutate Code Principle

Use AI as an engineer. Never as blind copy-and-paste automation.

32 Selenium to Playwright MigrationDesigned specifically for automation engineers coming from Selenium. 10 topics

Designed specifically for automation engineers coming from Selenium.

Understand the transition

SeleniumPlaywright
WebDriverBrowser / Page
WebElementLocator
Explicit waitsAuto-waiting
ThreadLocal strategyWorkers + isolated fixtures
Selenium GridWorkers / Sharding / Cloud
PageFactoryExplicit POM / Components
TestNG configurationPlaywright Config / Projects
Separate API toolingPlaywright APIRequestContext

Migration topics

  • What can be reused?
  • What should not be copied?
  • Framework coexistence
  • Pilot migration
  • Prioritising scenarios
  • Gradual migration
  • Rewrite vs refactor
  • Training teams
  • Migration risks
  • Measuring migration success
Chapter 12

Build your portfolio. Defend your decisions.

Three projects, framework defence and interview preparation.

4 phases · 40 topics

33 Real-World Automation ProjectsYou won't finish this course with only isolated examples. 30 topics

You won't finish this course with only isolated examples.

You will build complete projects.

Project 1 — Playwright Fundamentals Project

E-Commerce Application. Build:

  • Login
  • Search
  • Product selection
  • Cart
  • Checkout
  • Assertions
  • POM
  • Test data
  • Reports

Project 2 — Enterprise Business Application

Work with scenarios closer to banking, insurance or enterprise systems. Includes:

  • Multiple user roles
  • Authentication
  • Forms
  • Business rules
  • API integration
  • Test data
  • Role permissions
  • Error handling
  • Parallel execution

Project 3 — Production-Style Automation Framework

This time we don't give you every answer. You receive requirements. You decide:

  • Framework architecture
  • Folder structure
  • Fixtures
  • Page Objects
  • Components
  • API clients
  • Test data
  • Authentication
  • Reporting
  • Parallelism
  • CI/CD
  • Execution strategy

This project is designed to make you think like an automation engineer.

34 Framework DefenceBuilding a framework isn't enough. You must be able to explain it. Guided

Building a framework isn't enough. You must be able to explain it.

For every major component, you should be able to answer:

  1. What does it do?
  2. Why did you create it?
  3. Why is it located here?
  4. What problem does it solve?
  5. What alternative could you use?
  6. What happens if you remove it?
  7. Will it work safely under parallel execution?
35 Automation Architecture Interview PreparationPrepare for questions such as: Guided

Prepare for questions such as:

  1. You have 2,000 automated tests and execution takes eight hours. What would you do?
  2. Thirty tests fail intermittently. How would you investigate?
  3. How would you manage test data during parallel execution?
  4. When should a UI validation be moved to API testing?
  5. How would you migrate a Selenium framework to Playwright?
  6. How would you design authentication for multiple user roles?
  7. How would you organise a scalable Playwright framework?

These are not memorisation questions. They test your engineering thinking.

36 Portfolio & Career PreparationTurn your learning into something you can demonstrate. 10 topics

Turn your learning into something you can demonstrate.

You will work on

  • GitHub portfolio
  • Project README
  • Framework documentation
  • Architecture diagrams
  • Resume project descriptions
  • LinkedIn positioning
  • Playwright interview questions
  • Live coding preparation
  • Framework explanation
  • Mock technical discussions

3 major projects

Build a portfolio you can show employers and explain in a technical interview.

Project 01 / E-Commerce { ui }

1Your first complete test suite.

Automate login, search, product selection, cart and checkout with Page Objects, test data and reports.

  • UI automation
  • POM
  • Assertions
Project 02 / Enterprise { ui + api }

2Test a connected business system.

Work with multiple roles, permissions, business rules, API integration and parallel execution.

  • Authentication
  • APIs
  • Test data
Project 03 / Capstone { architect }

3Your requirements. Your framework.

Choose the architecture, fixtures, API clients, reporting, parallelism and CI/CD strategy. Explain why.

  • Architecture
  • CI/CD
  • Scale

Ready to start?

Enrolment details coming soon Pricing, course schedule and access details will be announced before enrolment opens.

Weekly testing tips

One email every Friday with Playwright tips, framework patterns and enrolment updates. No spam, unsubscribe anytime.