public interface ServerConnector
| Modifier and Type | Method and Description |
|---|---|
String |
getApiKey() |
ProxySettings |
getProxy() |
URI |
getServerUrl() |
int |
getTimeout() |
com.applitools.eyes.MatchResult |
matchWindow(com.applitools.eyes.RunningSession runningSession,
com.applitools.eyes.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) |
com.applitools.eyes.RunningSession |
startSession(com.applitools.eyes.SessionStartInfo sessionStartInfo)
Starts a new running session in the agent.
|
TestResults |
stopSession(com.applitools.eyes.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()
com.applitools.eyes.RunningSession startSession(com.applitools.eyes.SessionStartInfo sessionStartInfo)
sessionStartInfo - The start parameters for the session.EyesExceptionTestResults stopSession(com.applitools.eyes.RunningSession runningSession, boolean isAborted, boolean save)
runningSession - The running session to be stopped.EyesExceptioncom.applitools.eyes.MatchResult matchWindow(com.applitools.eyes.RunningSession runningSession,
com.applitools.eyes.MatchWindowData matchData)
runningSession - The current agent's running session.matchData - Encapsulation of a capture taken from the application.EyesExceptionCopyright © 2016. All rights reserved.