public static class SearchObject.BrowserWindow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_BORDER_WIDTH
'borderWidth'
|
static java.lang.String |
PROPERTY_CLIENT_HEIGHT
'clientHeight'
|
static java.lang.String |
PROPERTY_CLIENT_LOCATION_X
'clientX'
|
static java.lang.String |
PROPERTY_CLIENT_LOCATION_Y
'clientY'
|
static java.lang.String |
PROPERTY_CLIENT_WIDTH
'clientWidth'
|
static java.lang.String |
PROPERTY_DRIVER_WINDOW
'DriverWindow'
|
static java.lang.String |
PROPERTY_HEADER_HEIGHT
'headerHeight'
|
static java.lang.String |
PROPERTY_HEIGHT
'height'
|
static java.lang.String |
PROPERTY_LOCATION_X
'x'
|
static java.lang.String |
PROPERTY_LOCATION_Y
'y'
|
static java.lang.String |
PROPERTY_MAXIMIZED
'maximized'
|
static java.lang.String |
PROPERTY_PAGE_X_OFFSET
'pageXOffset'
|
static java.lang.String |
PROPERTY_PAGE_Y_OFFSET
'pageYOffset'
|
static java.lang.String |
PROPERTY_WIDTH
'width'
|
Constructor and Description |
---|
BrowserWindow() |
BrowserWindow(java.lang.Object object) |
Modifier and Type | Method and Description |
---|---|
float |
getBorderWidth() |
float |
getClientHeight() |
float |
getClientWidth() |
float |
getClientX() |
float |
getClientY() |
float |
getheaderHeight() |
float |
getHeight() |
float |
getPageXOffset() |
float |
getPageYOffset() |
float |
getWidth() |
static java.lang.Object |
getWindowObjectByJS(org.openqa.selenium.WebDriver.Window window) |
float |
getX() |
float |
getY() |
protected boolean |
hasProperty(java.lang.String propertyName)
The embedded Mapped object does or does NOT contain a real value for a particular Property?
|
boolean |
isMaximized() |
void |
set(java.util.Map browserInfoMap) |
public static final java.lang.String PROPERTY_HEIGHT
public static final java.lang.String PROPERTY_WIDTH
public static final java.lang.String PROPERTY_LOCATION_X
public static final java.lang.String PROPERTY_LOCATION_Y
public static final java.lang.String PROPERTY_CLIENT_HEIGHT
public static final java.lang.String PROPERTY_CLIENT_WIDTH
public static final java.lang.String PROPERTY_CLIENT_LOCATION_X
public static final java.lang.String PROPERTY_CLIENT_LOCATION_Y
public static final java.lang.String PROPERTY_PAGE_X_OFFSET
public static final java.lang.String PROPERTY_PAGE_Y_OFFSET
public static final java.lang.String PROPERTY_BORDER_WIDTH
public static final java.lang.String PROPERTY_HEADER_HEIGHT
public static final java.lang.String PROPERTY_MAXIMIZED
public static final java.lang.String PROPERTY_DRIVER_WINDOW
public BrowserWindow()
public BrowserWindow(java.lang.Object object) throws SeleniumPlusException
object
- Object containing information about the browser window.SeleniumPlusException
#getWindowObjectByJS(Window)
public void set(java.util.Map browserInfoMap)
protected boolean hasProperty(java.lang.String propertyName)
propertyName
- public float getHeight()
public float getWidth()
public float getX()
public float getY()
public float getClientHeight()
public float getClientWidth()
public float getClientX()
public float getClientY()
public float getPageXOffset()
public float getPageYOffset()
public float getBorderWidth()
public float getheaderHeight()
public boolean isMaximized()
public static java.lang.Object getWindowObjectByJS(org.openqa.selenium.WebDriver.Window window)
window
- Selenium WebDriver Window objectCopyright © SAS Institute. All Rights Reserved.