Adds a listener for the next paint event.
The callback to invoke on the next paint.
Downloads a file from a URL.
The URL to download.
Optionaloptions: BrowserElementDownloadOptionsDownload options.
A DOMRequest indicating success or failure.
Executes a script in the context of the browser element.
The script source code.
Optionaloptions: BrowserElementExecuteScriptOptionsOptions for execution.
A DOMRequest that resolves when execution is complete.
Finds text within the content.
The text to search for.
Case sensitivity option.
Finds the next occurrence of the text.
Direction to search.
Checks if it is possible to navigate forward.
A DOMRequest resolving to a boolean.
Retrieves the dimensions of the content.
A DOMRequest resolving to the dimensions.
Captures a screenshot of the browser element content.
The width of the screenshot.
The height of the screenshot.
OptionalmimeType: stringThe MIME type of the screenshot (optional).
A DOMRequest resolving to a Blob.
Retrieves structured data from the page (e.g., Microdata, Open Graph).
A DOMRequest resolving to the structured data.
Gets the visibility state of the browser element.
A DOMRequest that resolves to the visibility state.
Removes a listener for the next paint event.
The callback to remove.
Sends a mouse event to the browser element content.
The type of mouse event (e.g., "mousedown", "mouseup").
The x coordinate.
The y coordinate.
The button pressed.
The number of clicks.
Modifier keys pressed.
Sends a touch event to the browser element content.
The type of touch event.
Array of touch identifiers.
Array of x coordinates.
Array of y coordinates.
Array of radius-x values.
Array of radius-y values.
Array of rotation angles.
Array of force values.
Number of touches.
Modifier keys.
Sets whether the input method is active.
Whether the input method should be active.
A DOMRequest indicating success or failure.
Combined interface for browser elements.