quizmediumHow does Playwright avoid flakiness?Auto-waiting on every action plus web-first assertions that auto-retry until the condition holdsInserting fixed sleep() calls between every action to let the DOM settleRunning each test three times and taking the majority resultPolling the network layer until all XHR requests have completedSubmit answer