Playwright · Middle · Question 39 of 75
Why is waitForLoadState('networkidle') discouraged?
- 1Many apps never go quiet, and it doesn't mean UI is ready
- 2It only works in Chromium and fails in other browsers
- 3It was removed in recent versions of Playwright
Show the answer
Correct answer: Many apps never go quiet, and it doesn't mean UI is ready
Explanation
Polling, analytics or websockets keep the network busy. Waiting for a visible element or a specific response is more reliable.