pw·handbook
Levels Domain Projects Capstones Search GitHub
level 01 / typescript

TypeScript for Automation Engineers

Core and advanced TypeScript with real coding exercises — the language layer under every framework you will build.

Variables & Types

TypeScript's type system from the ground up — primitives, inference, unions, and the annotations that make automation code self-documenting.

25 min

Functions & Async/Await

Function types, arrow functions, and the async/await patterns that every Playwright test uses — with real examples from test fixtures and page objects.

30 min

Interfaces & Classes

TypeScript interfaces, type aliases, and classes — the building blocks of Playwright page objects, fixtures, and typed test data.

30 min

Generics & Utility Types

Generic functions and TypeScript's built-in utility types — Partial, Required, Pick, Record, Readonly — used throughout Playwright fixtures and test data builders.

25 min

Modules & Imports

ES modules, barrel exports, and the import patterns that keep Playwright projects organised — from page objects to shared fixtures and test data.

20 min
pw·handbook — production-grade Playwright engineering, level by level.
Home · Playwright Docs · MIT License