puppeteer/docs/api/puppeteer.elementhandle.ishidden.md

352 B

sidebar_label
ElementHandle.isHidden

ElementHandle.isHidden() method

Checks if an element is hidden using the same mechanism as ElementHandle.waitForSelector().

Signature:

class ElementHandle {
  isHidden(): Promise<boolean>;
}

Returns:

Promise<boolean>