Skip to main content
Version: 17.1.3

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>