Chrome Remote Interface v0.2.0 ChromeRemoteInterface.RPC.Browser View Source

The Browser domain defines methods and events for browser managing.

Link to this section Summary

Link to this section Functions

Close browser gracefully.

Parameters:

Link to this function close(page_pid, parameters) View Source
Link to this function close(page_pid, parameters, opts) View Source

Returns version information.

Parameters:

Link to this function getVersion(page_pid, parameters) View Source
Link to this function getVersion(page_pid, parameters, opts) View Source
Link to this function getWindowBounds(page_pid) View Source

Get position and size of the browser window.

Parameters: windowId - - Browser window id.

Link to this function getWindowBounds(page_pid, parameters) View Source
Link to this function getWindowBounds(page_pid, parameters, opts) View Source
Link to this function getWindowForTarget(page_pid) View Source

Get the browser window that contains the devtools target.

Parameters: targetId - - Devtools agent host id.

Link to this function getWindowForTarget(page_pid, parameters) View Source
Link to this function getWindowForTarget(page_pid, parameters, opts) View Source
Link to this function setWindowBounds(page_pid) View Source

Set position and/or size of the browser window.

Parameters: windowId - - Browser window id.bounds - - New window bounds. The ‘minimized’, ‘maximized’ and ‘fullscreen’ states cannot be combined with ‘left’, ‘top’, ‘width’ or ‘height’. Leaves unspecified fields unchanged.

Link to this function setWindowBounds(page_pid, parameters) View Source
Link to this function setWindowBounds(page_pid, parameters, opts) View Source