public static class RemoteDriver.SessionInfo
extends java.lang.Object
RemoteDriver.SPLITTER
ID=serverHost_SP_sessionid_SP_browserName_SP_browserVersion_SP_platform_SP_commandCodecClassName_SP_responseCodecClassName_SP_<extraParameters>
<extraParameters> are optional parameter as below
Modifier and Type | Field and Description |
---|---|
java.lang.String |
browser |
java.lang.String |
browserVersion |
java.lang.String |
commandCodecClassName |
java.util.HashMap<java.lang.String,java.lang.Object> |
extraParameters |
java.lang.String |
id |
boolean |
isCurrentSession |
static java.lang.String[] |
optionalKeys |
java.lang.String |
platform |
java.lang.String |
responseCodecClassName |
java.lang.String |
serverHost |
java.lang.String |
session |
Constructor and Description |
---|
SessionInfo(java.lang.String id,
boolean isCurrentSession,
java.lang.String sessionContent)
Builds a SessionInfo object from (probably) stored sessionContent information.
|
SessionInfo(java.lang.String serverHost,
java.lang.String id,
java.lang.String browser,
java.lang.String session,
boolean isCurrentSession)
Builds a new SessionInfo object from a real new session.
|
Modifier and Type | Method and Description |
---|---|
void |
restore(org.openqa.selenium.remote.DesiredCapabilities capabilities) |
public java.lang.String id
public boolean isCurrentSession
public java.lang.String serverHost
public java.lang.String browser
public java.lang.String session
public java.lang.String browserVersion
public java.lang.String platform
public java.lang.String commandCodecClassName
public java.lang.String responseCodecClassName
public java.util.HashMap<java.lang.String,java.lang.Object> extraParameters
public static final java.lang.String[] optionalKeys
public SessionInfo(java.lang.String serverHost, java.lang.String id, java.lang.String browser, java.lang.String session, boolean isCurrentSession)
serverHost
- id
- browser
- session
- isCurrentSession
- public SessionInfo(java.lang.String id, boolean isCurrentSession, java.lang.String sessionContent)
id
- isCurrentSession
- sessionContent
- String, read from a session fileCopyright © SAS Institute. All Rights Reserved.