Playwright · Middle · Question 36 of 75
Why is force: true on a click risky?
- 1It disables the test timeout for the whole test
- 2It clicks so hard that the browser can crash
- 3It skips actionability checks and may hide real UI bugs
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.