struct Protocol::Browser::Bounds
- Protocol::Browser::Bounds
- Struct
- Value
- Object
Overview
Browser window bounds information
Included Modules
- JSON::Serializable
Defined in:
protocol/browser.crConstructors
Instance Method Summary
-
#height : Int::Primitive | Nil
The window height in pixels.
-
#left : Int::Primitive | Nil
The offset from the left edge of the screen to the window in pixels.
-
#top : Int::Primitive | Nil
The offset from the top edge of the screen to the window in pixels.
-
#width : Int::Primitive | Nil
The window width in pixels.
-
#window_state : WindowState | Nil
The window state.
Constructor Detail
Instance Method Detail
def left : Int::Primitive | Nil
#
The offset from the left edge of the screen to the window in pixels.
def top : Int::Primitive | Nil
#
The offset from the top edge of the screen to the window in pixels.