puppeteer/website/versioned_docs/version-9.1.1/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>