PLAYWRIGHT IN PRACTICE · REFERENCE CARD
Mocking browser APIs: clock, geolocation, clipboard and more
Replace parts of the browser with stage props, such as the time, the place, the clipboard or the battery, before the page loads, so a test can control what the page sees.
Derived from Mocking browser APIs: clock, geolocation, clipboard and more. Every claim on this card is sourced on that page. All software testing reference cards.