Frame.frameElement() method

Signature

class Frame {
  frameElement(): Promise<HandleFor<HTMLIFrameElement> | null>;
}

Returns:

Promise<HandleFor<HTMLIFrameElement> | null>

The frame element associated with this frame (if any).