public interface ServerConnector
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
ProxySettings |
getProxy() |
URI |
getServerUrl() |
int |
getTimeout() |
MatchResult |
matchWindow(RunningSession runningSession,
MatchWindowData matchData)
Matches the current window (held by the WebDriver) to the expected
window.
|
void |
setApiKey(String apiKey) |
void |
setProxy(ProxySettings proxySettings) |
void |
setServerUrl(URI serverUrl) |
RunningSession |
startSession(SessionStartInfo sessionStartInfo)
Starts a new running session in the agent.
|
TestResults |
stopSession(RunningSession runningSession,
boolean isAborted,
boolean save)
Stops the running session.
|
void setApiKey(String apiKey)
String getApiKey()
void setServerUrl(URI serverUrl)
URI getServerUrl()
void setProxy(ProxySettings proxySettings)
ProxySettings getProxy()
int getTimeout()
RunningSession startSession(SessionStartInfo sessionStartInfo)
sessionStartInfo - The start parameters for the session.EyesExceptionTestResults stopSession(RunningSession runningSession, boolean isAborted, boolean save)
runningSession - The running session to be stopped.EyesExceptionMatchResult matchWindow(RunningSession runningSession, MatchWindowData matchData)
runningSession - The current agent's running session.matchData - Encapsulation of a capture taken from the application.EyesExceptionCopyright © 2017. All rights reserved.