Playwright error TimeoutError: waiting for selector "..." to be visible
This comes from the older page.waitForSelector API. It's the same actionability issue as a locator timeout, just an older call shape.
Why this happens
- Same underlying cause as any actionability timeout: the element isn't rendering, or is hidden/covered
- The selector targets content inside an iframe or shadow DOM that this call can't see into
How to fix it
- Migrate to locator-based auto-waiting: `await page.locator(selector).waitFor()` instead of `page.waitForSelector`
- If the element is inside an iframe, use `page.frameLocator()` instead of a top-level selector