Playwright API Testing with TypeScript

Learn API automation from scratch. Understand API testing fundamentals and then build a scalable, production-ready API testing framework. Learn how to use AI to speed up your automation workflow.

What you'll learn
  • Send and validate API requests directly with Playwright's request fixture
  • Write schema validation and contract tests that catch breaking changes
  • Build fluent, reusable request patterns for clean test code
  • Handle authentication, tokens, and chained API workflows
  • Use AI-assisted scripting to speed up test creation
$89
Lifetime access
52 lessons· 9h 4m
  • Downloadable code samples for every chapter
  • Live support in Slack
14-day refund
▸ Curriculum

Full curriculum.

Every one of the 52 lessons listed below. Free preview lessons are clickable.

MODULE 02API Testing Basics10 lessons · 1h 46m
05What is API10mFree
06Exploring API using Postman14m
07Get Request18m
08Post Request7m
09Authorized Post Request10m
10Delete Request5m
11Put Request10m
12Test Hooks9m
13Test Execution13m
14Wrap Up4m
MODULE 03Building a Framework17 lessons · 3h 18m
15Before We Begin..1m
16Fluent Interface Design13m
17Test Fixtures10m
18URL Builder9m
19Request Handler Constructor5m
20Get Requester12m
21Post, Put and Delete Requester14m
22Custom Logger16m
23Status Code Validator19m
24Assertions Enhancement23m
25API Configuration File11m
26Request Handler Improvement5m
27Authorization Helper9m
28Playwright Workers8m
29Automatic Authorization19m
30Playwright Configuration File11m
31Reporting Improvement5m
MODULE 04Schema Validation7 lessons · 59m
32What is JSON Schema6m
33Schema Reader12m
34Schema Validator10m
35Schema Assertion8m
36Schema Generation14m
37Additional Data Formats5m
38Section Wrap Up2m
MODULE 05Test Management6 lessons · 56m
39Managing Request Payload10m
40Test Data Generation12m
41Data-Driven Testing14m
42Detailed Log Analysis5m
43Environment Variables9m
44UI and API Tests in a Single Framework3m
MODULE 06AI-Assisted Scripting with Copilot8 lessons · 1h 39m
45Setting up Copilot5m
46Copilot Code Completion6m
47Copilot Ask Mode and Context Window9m
48Update Assertions using Copilot Agent Mode10m
49Assertions Generation and Agent Auto-Debugging13m
50Managing Instructions and Prompts27m
51Adding New Framework Features with Copilot Agent8m
52Automatic API Test Generation from UI Test17m