Playwright · Middle · Question 21 of 75

What is routeFromHAR used for?

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.

Further reading

Problem with a question

Playwright · Middle · question 21

Test yourself

Take the Playwright · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz