Package | Description |
---|---|
org.openqa.selenium.remote | |
org.openqa.selenium.remote.http | |
org.openqa.selenium.remote.service |
Modifier and Type | Method and Description |
---|---|
Response |
ResponseCodec.decode(T encodedResponse)
Decodes a response.
|
Response |
HttpCommandExecutor.execute(Command command) |
Response |
CommandExecutor.execute(Command command) |
protected Response |
RemoteWebDriver.execute(String command) |
protected Response |
RemoteWebElement.execute(String command,
Map<String,?> parameters) |
protected Response |
RemoteWebDriver.execute(String driverCommand,
Map<String,?> parameters) |
static Response |
Responses.failure(SessionId sessionId,
Throwable reason)
Creates a response object for a failed command execution.
|
static Response |
Responses.failure(SessionId sessionId,
Throwable reason,
com.google.common.base.Optional<String> screenshot)
Creates a response object for a failed command execution.
|
static Response |
Responses.success(SessionId sessionId,
Object value)
Creates a response object for a successful command execution.
|
Response |
ErrorHandler.throwIfResponseFailed(Response response,
long duration) |
Modifier and Type | Method and Description |
---|---|
T |
ResponseCodec.encode(Response response)
Encodes a response.
|
Response |
ErrorHandler.throwIfResponseFailed(Response response,
long duration) |
Modifier and Type | Method and Description |
---|---|
Response |
JsonHttpResponseCodec.decode(HttpResponse encodedResponse) |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
JsonHttpResponseCodec.encode(Response response)
Encodes the given response as a HTTP response message.
|
Modifier and Type | Method and Description |
---|---|
Response |
DriverCommandExecutor.execute(Command command)
Sends the
command to the driver server for execution. |
Copyright © 2014. All rights reserved.