Properties
A WebFrame | null
representing the first child frame of webFrame
, the property would be null
if webFrame
has no children or if first child is not in the current renderer process.
A WebFrame | null
representing next sibling frame, the property would be null
if webFrame
is the last frame in its parent or if the next sibling is not in the current renderer process.
Functions
Attempts to free memory that is no longer being used (like images from a previous navigation).
A promise that resolves with the result of the executed code or is rejected if execution could not start.
A child of webFrame
with the supplied name
, null
would be returned if there's no such frame or if the frame is not in the current renderer process.
that has the supplied routingId
, null
if not found.
The frame element in webFrame's
document selected by selector
, null
would be returned if selector
does not select a frame or if the frame is not in the current renderer process.
Returns an object describing usage information of Blink's internal memory caches.
A list of suggested words for a given word. If the word is spelled correctly, the result will be empty.
The current zoom factor.
The current zoom level.
A key for the inserted CSS that can later be used to remove the CSS via webFrame.removeInsertedCSS(key)
.
Inserts text
to the focused element.
True if the word is misspelled according to the built in spellchecker, false otherwise. If no dictionary is loaded, always return false.
Removes the inserted CSS from the current web page. The stylesheet is identified by its key, which is returned from webFrame.insertCSS(css)
.
Set the security origin, content security policy and name of the isolated world. Note: If the csp
is specified, then the securityOrigin
also has to be specified.
Sets a provider for spell checking in input fields and text areas.
Sets the maximum and minimum pinch-to-zoom level.
Changes the zoom factor to the specified factor. Zoom factor is zoom percent divided by 100, so 300% = 3.0.
Changes the zoom level to the specified level. The original size is 0 and each increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively.