Playwright · Senior · Question 61 of 77

What does page.clock.install() let you test that real timers make impractical?

Show the answer

Correct answer: Session timeouts and scheduled UI changes, in milliseconds

Explanation

With a controlled clock you can jump 30 minutes ahead and check the logout warning without waiting.

Further reading

Problem with a question

Playwright · Senior · question 61

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