Closes #13131. Per the visibility spec on https://playwright.dev/docs/next/actionability#visible: > Element is considered visible when it has non-empty bounding box and does not have visibility:hidden computed style. Note that elements of zero size or with display:none are not considered visible. ✅ non-empty bounding box ✅ does not have visibility:hidden Given the above conditions are satisfied, the locator is considered visible. https://github.com/microsoft/playwright/issues/8740 proposes something like `isInViewport()` that would be better suited for checking if an element is offscreen. |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| components | ||
| config | ||
| electron | ||
| library | ||
| page | ||
| playwright-test | ||
| index.d.ts | ||
| tsconfig.json | ||