Playwright · Middle · Question 36 of 75

Why is force: true on a click risky?

Show the answer

Correct answer: It skips actionability checks and may hide real UI bugs

Explanation

If an overlay covers the button, a real user can't click it. Forcing the click makes the test pass while the bug stays.

Further reading

Problem with a question

Playwright · Middle · question 36

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