Skip to main content

ElementHandle.contentFrame() method

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

Signature:
contentFrame(): Promise<Frame | null>;
Returns:

Promise<Frame | null>