PLAYWRIGHT IN PRACTICE · REFERENCE CARD

Network interception: route, mock, change and wait for requests

Use page.route to answer, change or block the calls a page makes, and wait for calls with waitForResponse, so every page state can be tested.

Derived from Network interception: route, mock, change and wait for requests. Every claim on this card is sourced on that page. All software testing reference cards.