Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.browser

The Browser domain defines methods and events for browser managing.

The Browser domain defines methods and events for browser managing.
raw docstring

get-versionclj

(get-version)
(get-version {:as params :keys []})
(get-version connection {:as params :keys []})

Returns version information.

Return map keys:

KeyDescription
:protocol-versionProtocol version.
:productProduct name.
:revisionProduct revision.
:user-agentUser-Agent.
:js-versionV8 version.
Returns version information.

Return map keys:


  Key               | Description 
  ------------------|------------ 
  :protocol-version | Protocol version.
  :product          | Product name.
  :revision         | Product revision.
  :user-agent       | User-Agent.
  :js-version       | V8 version.
sourceraw docstring

get-window-boundsclj

(get-window-bounds)
(get-window-bounds {:as params :keys [window-id]})
(get-window-bounds connection {:as params :keys [window-id]})

Get position and size of the browser window.

Parameters map keys:

KeyDescription
:window-idBrowser window id.

Return map keys:

KeyDescription
:boundsBounds information of the window. When window state is 'minimized', the restored window position and size are returned.
Get position and size of the browser window.

Parameters map keys:


  Key        | Description 
  -----------|------------ 
  :window-id | Browser window id.

Return map keys:


  Key     | Description 
  --------|------------ 
  :bounds | Bounds information of the window. When window state is 'minimized', the restored window position and size are returned.
sourceraw docstring

get-window-for-targetclj

(get-window-for-target)
(get-window-for-target {:as params :keys [target-id]})
(get-window-for-target connection {:as params :keys [target-id]})

Get the browser window that contains the devtools target.

Parameters map keys:

KeyDescription
:target-idDevtools agent host id.

Return map keys:

KeyDescription
:window-idBrowser window id.
:boundsBounds information of the window. When window state is 'minimized', the restored window position and size are returned.
Get the browser window that contains the devtools target.

Parameters map keys:


  Key        | Description 
  -----------|------------ 
  :target-id | Devtools agent host id.

Return map keys:


  Key        | Description 
  -----------|------------ 
  :window-id | Browser window id.
  :bounds    | Bounds information of the window. When window state is 'minimized', the restored window position and size are returned.
sourceraw docstring

set-window-boundsclj

(set-window-bounds)
(set-window-bounds {:as params :keys [window-id bounds]})
(set-window-bounds connection {:as params :keys [window-id bounds]})

Set position and/or size of the browser window.

Parameters map keys:

KeyDescription
:window-idBrowser window id.
:boundsNew window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
Set position and/or size of the browser window.

Parameters map keys:


  Key        | Description 
  -----------|------------ 
  :window-id | 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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close