Companion

Functions

Link copied to clipboard

A WebContents instance with the given TargetID, or undefined if there is no WebContents associated with the given TargetID.

Link copied to clipboard

A WebContents instance with the given WebFrameMain, or undefined if there is no WebContents associated with the given WebFrameMain.

Link copied to clipboard

A WebContents instance with the given ID, or undefined if there is no WebContents associated with the given ID.

Link copied to clipboard

An array of all WebContents instances. This will contain web contents for all windows, webviews, opened devtools, and devtools extension background pages.

Link copied to clipboard

The web contents that is focused in this application, otherwise returns null.