API Testing with fetch
Use Playwright's request context as a fetch implementation to send requests of an API client through Playwright.
Use Playwright's request context as a fetch implementation to send requests of an API client through Playwright.
Mask non-deterministic values like IDs, timestamps or base URLs in a consistent format to keep file snapshots stable.
Types for writing reusable test helpers, like a target accepting both a page and a locator.