public abstract static class Constants.SeleniumConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
DRIVER_SHORT_NAME_MAP
When starting the selenium server, the browser-drivers can be specified as VM parameters, such as
-Dwebdriver.ie.driver=path\to\IEDriverServer.exe -Dwebdriver.ie.logfile=workspace\log\ie.console The VM parameter is in format webdriver.<browserShortName>.driver and webdriver.<browserShortName>.logfile, the browser names (NOT short name) have been defined in class Constants.BrowserConstants such as Constants.BrowserConstants.BROWSER_NAME_EDGE etc. |
static java.lang.String |
ITEM_WEB_DRIVERS
Deprecated.
please use
DriverConstant.SeleniumConfigConstant.ITEM_WEB_DRIVERS instead. |
static java.lang.String |
KEY_GRID_NODES_SETTING
'selenium.node' the key for selenium grid node string;
The value is as "node1:port:nodeconfig;node2:port:nodeconfig;"
|
static java.lang.String |
PROPERTY_WEB_DRIVERS
Deprecated.
please use
DriverConstant.SeleniumConfigConstant.PROPERTY_WEB_DRIVERS instead. |
static java.lang.String |
SYSTEM_PROPERTY_BROWSER_NAME
'BROWSER' Indicates the browser's name
|
static java.lang.String |
SYSTEM_PROPERTY_BROWSER_REMOTE
'BROWSER_REMOTE' true or false.
|
static java.lang.String |
SYSTEM_PROPERTY_SELENIUM_HOST
'selenium.host'
|
static java.lang.String |
SYSTEM_PROPERTY_SELENIUM_NODE
'selenium.node', its value is like node1:port:nodeconfig;node2:port:nodeconfig;
semi-colon(;) serves as separator between nodes, colon(:) serves as separator between node-name, port, and node-configuration. |
static java.lang.String |
SYSTEM_PROPERTY_SELENIUM_PORT
'selenium.port'
|
static java.lang.String |
SYSTEM_PROPERTY_WEBDRIVER_CHROME
'webdriver.chrome.driver'
|
static java.lang.String |
SYSTEM_PROPERTY_WEBDRIVER_EDGE
'webdriver.edge.driver'
|
static java.lang.String |
SYSTEM_PROPERTY_WEBDRIVER_IE
'webdriver.ie.driver'
|
Constructor and Description |
---|
SeleniumConstants() |
public static final java.lang.String SYSTEM_PROPERTY_SELENIUM_HOST
public static final java.lang.String SYSTEM_PROPERTY_SELENIUM_PORT
public static final java.lang.String SYSTEM_PROPERTY_SELENIUM_NODE
public static final java.lang.String SYSTEM_PROPERTY_WEBDRIVER_IE
public static final java.lang.String SYSTEM_PROPERTY_WEBDRIVER_CHROME
public static final java.lang.String SYSTEM_PROPERTY_WEBDRIVER_EDGE
public static final java.lang.String SYSTEM_PROPERTY_BROWSER_NAME
public static final java.lang.String SYSTEM_PROPERTY_BROWSER_REMOTE
public static final java.lang.String KEY_GRID_NODES_SETTING
@Deprecated public static final java.lang.String ITEM_WEB_DRIVERS
DriverConstant.SeleniumConfigConstant.ITEM_WEB_DRIVERS
instead.@Deprecated public static final java.lang.String PROPERTY_WEB_DRIVERS
DriverConstant.SeleniumConfigConstant.PROPERTY_WEB_DRIVERS
instead.public static final java.util.Map<java.lang.String,java.lang.String> DRIVER_SHORT_NAME_MAP
Constants.BrowserConstants
such as Constants.BrowserConstants.BROWSER_NAME_EDGE
etc. But not all
of them is suitable to specify the VM parameter, so this Map is created for mapping 'browser-name' to 'browser-short-name'. The 'browser-short-name'
will be used to specify the VM parameter.Copyright © SAS Institute. All Rights Reserved.