Skip to main content
Version: 17.0.0

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>