Q1.Explain Playwright's auto-waiting mechanism and how it eliminates flaky UI tests.
Before performing actions (`click()`, `fill()`), Playwright automatically verifies actionability preconditions: verifying the target element is attached to the DOM, visible, enabled, stable (not animating), and not obscured by modal overlays.
await page.locator('button#submit').click(); // Auto-waits for actionability