Playwright · Middle · Question 21 of 75
What is routeFromHAR used for?
- 1Serving recorded network traffic to the page
- 2Measuring page load speed from a HAR file
- 3Converting tests into HAR files for browsers
Show the answer
Correct answer: Serving recorded network traffic to the page
Explanation
A HAR file records requests and responses. Replaying it gives stable, offline tests; update: true re-records it.