Playwright error Error: page.click: Element is outside of the viewport
The click target sits outside the configured browser viewport and couldn't be scrolled into a clickable position.
Why this happens
- The fixed viewport size in config is smaller than where the element actually sits
- The element lives inside a custom (non-window) scroll container Playwright's auto-scroll doesn't reach
How to fix it
- Increase the viewport in playwright.config.ts: `use: { viewport: { width, height } }`
- Manually call `locator.scrollIntoViewIfNeeded()` before acting when the element is inside a nested scroll container