deviceId | string | |
platform | string | OS family of the session. |
formFactor | string | Physical class of the session. |
inputModalities | string[] | Interaction classes the session accepts, e.g. [“keyboard”, “pointer”]. A client sizes behavior from this, not from platform. |
model | string | Best-effort; empty when the descriptor lookup has not succeeded. |
osVersion | string | Best-effort; empty when unknown. |
screenWidth | integer | Width of the live-view frame: the space screenshots, Screen.observe boxes and window-pixel coordinates use. In a browser session that is Chrome’s window. |
screenHeight | integer | Height of the live-view frame. screenWidth by screenHeight and frame are the same numbers. |
viewport | Size | The page’s viewport in CSS pixels, as measured; a request can be clamped. Browser sessions only. |
devicePixelRatio | number | Device pixels per CSS pixel, fixed for the session. Browser sessions only. |
window | Bbox | Chrome’s visible window on the monitor, exactly what the live view shows (not the OS window bounds, which include invisible resize borders), in monitor pixels. Browser sessions only. |
frame | Size | The live-view frame’s size: the size of window, and the same numbers as screenWidth by screenHeight. Browser sessions only. |
monitor | Size | The display Chrome runs on, in pixels; pages see it as screen.width and screen.height. Browser sessions only. |