Skip to main content
Version: Next

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>