puppeteer/website/versioned_docs/version-10.1.0/puppeteer.elementhandle.isintersectingviewport.md
2021-08-10 11:09:48 +01:00

510 B

Home > puppeteer > ElementHandle > isIntersectingViewport

ElementHandle.isIntersectingViewport() method

Resolves to true if the element is visible in the current viewport.

Signature:

isIntersectingViewport(): Promise<boolean>;

Returns:

Promise<boolean>