Puppeteer
Puppeteer API Testing: Intercept, Mock, and Validate Network Requests
Puppeteer's network interception capabilities turn browser automation into an API testing tool. You can intercept requests, inspect payloads, mock responses, and validate that your frontend sends the right data to your backend — all within end-to-end test scenarios where the browser and API are exercised together. Network