Playwright · Middle · Question 45 of 75

What does page.clock help with?

Show the answer

Correct answer: Controlling time to test timers and dates

Explanation

clock.install() and clock.fastForward('30:00') test session expiry or countdowns without waiting.

Further reading

Problem with a question

Playwright · Middle · question 45

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