Skip to main content
Version: 16.1.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>