Skip to main content
Version: Next

ElementHandle.contentFrame() method

Resolves to the content frame for element handles referencing iframe nodes, or null otherwise

Signature:

class ElementHandle {
contentFrame(): Promise<Frame | null>;
}

Returns:

Promise<Frame | null>