Skip to main content
Element Handle state checks methods for the Puppeteer driver.

isVisible

Check if the element is visible. Upstream docs
result
boolean
Return value
await element.isVisible();

isHidden

Check if the element is hidden. Upstream docs
result
boolean
Return value
await element.isHidden();

isIntersectingViewport

Check if the element intersects the viewport. Upstream docs
options
{ threshold?: number }
result
boolean
Return value
await element.isIntersectingViewport();