Class Bounds
- java.lang.Object
-
- org.openqa.selenium.devtools.browser.model.Bounds
-
@Beta public class Bounds extends java.lang.ObjectBrowser window bounds information
-
-
Constructor Summary
Constructors Constructor Description Bounds(java.lang.Integer left, java.lang.Integer top, java.lang.Integer width, java.lang.Integer height, WindowState windowState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetHeight()The window height in pixels.java.lang.IntegergetLeft()The offset from the left edge of the screen to the window in pixels.java.lang.IntegergetTop()The offset from the top edge of the screen to the window in pixels.java.lang.IntegergetWidth()The window width in pixels.WindowStategetWindowState()The window state.
-
-
-
Constructor Detail
-
Bounds
public Bounds(java.lang.Integer left, java.lang.Integer top, java.lang.Integer width, java.lang.Integer height, WindowState windowState)
-
-
Method Detail
-
getLeft
public java.lang.Integer getLeft()
The offset from the left edge of the screen to the window in pixels.
-
getTop
public java.lang.Integer getTop()
The offset from the top edge of the screen to the window in pixels.
-
getWidth
public java.lang.Integer getWidth()
The window width in pixels.
-
getHeight
public java.lang.Integer getHeight()
The window height in pixels.
-
getWindowState
public WindowState getWindowState()
The window state. Default to normal.
-
-