APIResponse exposes resource timing information
Introduced 2026-07-24 · score 0.94
HOW TO USE IT
When debugging an API response in a test, call `apiResponse.timing()` to inspect its resource timing data.
const timing = apiResponse.timing();WHY THIS HELPS
Inspect resource timing information while debugging an API response in a test.
REQUIREMENTS AND LIMITATIONS
- Version: v1.62.0
- Prerequisite: `APIResponse.timing()` was added in Playwright v1.62.
FIRST-PARTY EVIDENCE
- https://github.com/microsoft/playwright/releases/tag/v1.62.0
- https://playwright.dev/docs/api/class-apiresponse#api-response-timing
Check the installed version and the source before using it. Entry JSON