class WebDriverSpawnParameters
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
deviceId
Device ID
|
private WebDriverType |
driverType
The web driver type: gui, chui, embedded.
|
private boolean |
isSessionFork
Flag to indicate if this is session fork attempt.
|
private java.util.List<java.lang.String> |
runtimeWebOptions
List of caller-specified options to be passed on the client command line or null
if no values are specified.
|
private SessionForkManager.ForkedSessionConfigs |
sessionForkParams
Params for a new forked session
|
private boolean |
sso
Flag to indicate if the spawning process uses SSO authentication.
|
private SsoAuthenticator.Result |
ssoAuthResult
The result of SSO authentication.
|
| Constructor and Description |
|---|
WebDriverSpawnParameters(WebDriverType driverType,
boolean sso,
java.util.List<java.lang.String> runtimeWebOptions,
java.lang.String deviceId)
Package-private constructor for setting the base / immutable values expected to be always present.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDeviceId()
Getter for
deviceId. |
WebDriverType |
getDriverType()
Getter for
driverType. |
java.util.List<java.lang.String> |
getRuntimeWebOptions()
Getter for
runtimeWebOptions. |
SessionForkManager.ForkedSessionConfigs |
getSessionForkParams()
Getter for
sessionForkParams. |
SsoAuthenticator.Result |
getSsoAuthResult()
Getter for
ssoAuthResult. |
boolean |
isGui()
Returns if the
driverType is gui. |
boolean |
isSessionFork()
Getter for
isSessionFork. |
boolean |
isSso()
Getter for
sso. |
void |
setSessionFork(SessionForkManager.ForkedSessionConfigs sessionForkParams)
Sets the unique spawn parameters for forking a session.
|
void |
setSsoAuthResult(SsoAuthenticator.Result ssoAuthResult)
Setter for
ssoAuthResult. |
private java.util.List<java.lang.String> runtimeWebOptions
private boolean sso
private WebDriverType driverType
private boolean isSessionFork
private java.lang.String deviceId
private SessionForkManager.ForkedSessionConfigs sessionForkParams
private SsoAuthenticator.Result ssoAuthResult
WebDriverSpawnParameters(WebDriverType driverType, boolean sso, java.util.List<java.lang.String> runtimeWebOptions, java.lang.String deviceId)
driverType - The web driver type: gui, chui, embedded.sso - Boolean to indicate if SSO authentication is enabled or not.runtimeWebOptions - An array of spawn options sent to the client process.deviceId - The device ID.public void setSsoAuthResult(SsoAuthenticator.Result ssoAuthResult)
ssoAuthResult.ssoAuthResult - The SSO authenticator result from auto-login.public void setSessionFork(SessionForkManager.ForkedSessionConfigs sessionForkParams)
sessionForkParams - Allpublic boolean isGui()
driverType is gui.public WebDriverType getDriverType()
driverType.public java.util.List<java.lang.String> getRuntimeWebOptions()
runtimeWebOptions.public boolean isSso()
sso.public SsoAuthenticator.Result getSsoAuthResult()
ssoAuthResult.public boolean isSessionFork()
isSessionFork.public java.lang.String getDeviceId()
deviceId.public SessionForkManager.ForkedSessionConfigs getSessionForkParams()
sessionForkParams.