Skip to main content
Version: Next

ElementHandle.contentFrame() method

Resolves the frame associated with the element.

Signature:

class ElementHandle {
contentFrame(this: ElementHandle<HTMLIFrameElement>): Promise<Frame>;
}

Parameters

ParameterTypeDescription
thisElementHandle<HTMLIFrameElement>

Returns:

Promise<Frame>