Network Interception (Mock API) Authentication State (Reuse Login) Visual Regression Testing Trace Viewer — Time-Travel Debugging Trace Viewer shows: Every action with screenshots and timing DOM snapshot at each step Network requests and responses Console logs
Key Takeaways
Network interception enables mocking API responses for error testing.
Save authentication state to reuse login across tests.
Visual regression catches unintended UI changes.
Trace Viewer provides time-travel debugging with DOM snapshots.
page.route() intercepts and modifies network requests.