Class: Frame

Frame

Represents a way to interact with iframes. Facilitates discovery of current context (iframe or main window) as well as the ability to listen for frame-specific events.

Constructor

new Frame()

Methods

getInfo() → {Promise.<FrameInfo>}

Returns a frame info object for the represented frame

Tutorials:
Returns:
Type
Promise.<FrameInfo>

getParentWindow() → {Promise.<FrameInfo>}

Returns a frame info object representing the window that the referenced iframe is currently embedded in

Tutorials:
Returns:
Type
Promise.<FrameInfo>