Playwright · Senior · Question 45 of 77

How can Playwright collect performance data for a page?

Show the answer

Correct answer: Read Performance API values with page.evaluate

Explanation

Navigation and paint timings, or Chromium-only CDP metrics, can be collected and tracked, with care since CI timing is noisy.

Further reading

Problem with a question

Playwright · Senior · question 45

Test yourself

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

Take this quiz