Package | Description |
---|---|
org.openqa.grid.internal | |
org.openqa.grid.web.servlet.handler |
Modifier and Type | Method and Description |
---|---|
static ExternalSessionKey |
ExternalSessionKey.fromJSON(String keyString) |
static ExternalSessionKey |
ExternalSessionKey.fromJsonResponseBody(String responseBody)
Extract the external key from the server response for a selenium2 new session request.
|
static ExternalSessionKey |
ExternalSessionKey.fromResponseBody(String responseBody)
extract the external key from the server response for a selenium1 new session request.
|
static ExternalSessionKey |
ExternalSessionKey.fromSe1Request(String piece) |
static ExternalSessionKey |
ExternalSessionKey.fromString(String keyString) |
static ExternalSessionKey |
ExternalSessionKey.fromWebDriverRequest(String path)
extract the session xxx from http://host:port/a/b/c/session/xxx/...
|
ExternalSessionKey |
TestSession.getExternalKey()
Get the session key from the remote.
|
Modifier and Type | Method and Description |
---|---|
TestSession |
Registry.getExistingSession(ExternalSessionKey externalKey)
gets the test existing session associated to this external key.
|
TestSession |
Registry.getSession(ExternalSessionKey externalKey)
gets the test session associated to this external key.
|
void |
TestSession.setExternalKey(ExternalSessionKey externalKey)
associate this session to the session provided by the remote.
|
Modifier and Type | Method and Description |
---|---|
ExternalSessionKey |
WebDriverRequest.extractSession() |
abstract ExternalSessionKey |
SeleniumBasedRequest.extractSession()
Extract the session from the request.
|
ExternalSessionKey |
LegacySeleniumRequest.extractSession() |
ExternalSessionKey |
RequestHandler.getServerSession()
return the session from the server ( = opaque handle used by the server to determine where to
route session-specific commands from the JSON wire protocol ).
|
Copyright © 2014. All rights reserved.