public class VisualGridEyes extends Object implements ISeleniumEyes
| Constructor and Description |
|---|
VisualGridEyes(com.applitools.eyes.visualgrid.services.VisualGridRunner renderingGridManager,
com.applitools.eyes.config.ConfigurationProvider configurationProvider) |
| Modifier and Type | Method and Description |
|---|---|
com.applitools.eyes.TestResults |
abort() |
void |
abortAsync() |
com.applitools.eyes.TestResults |
abortIfNotClosed() |
void |
addProperty(String name,
String value)
Adds a property to be sent to the server.
|
void |
apiKey(String apiKey) |
void |
check(com.applitools.ICheckSettings... checkSettings) |
void |
check(com.applitools.ICheckSettings checkSettings) |
void |
check(String name,
com.applitools.ICheckSettings checkSettings) |
void |
clearProperties()
Clears the list of custom properties.
|
com.applitools.eyes.TestResults |
close(boolean throwException) |
void |
closeAsync() |
Map<String,com.applitools.eyes.RunningTest> |
getAllRunningTests() |
List<com.applitools.eyes.TestResultContainer> |
getAllTestResults() |
String |
getApiKey() |
com.applitools.eyes.IBatchCloser |
getBatchCloser() |
String |
getBatchId() |
EyesSeleniumDriver |
getDriver() |
String |
getFullAgentId() |
boolean |
getIsDisabled() |
boolean |
getIsOpen() |
com.applitools.eyes.Logger |
getLogger() |
com.applitools.eyes.LogHandler |
getLogHandler() |
com.applitools.eyes.AbstractProxySettings |
getProxy() |
URI |
getServerUrl() |
boolean |
isCompleted() |
boolean |
isEyesClosed() |
org.openqa.selenium.WebDriver |
open(org.openqa.selenium.WebDriver webDriver) |
org.openqa.selenium.WebDriver |
open(org.openqa.selenium.WebDriver driver,
String appName,
String testName,
com.applitools.eyes.RectangleSize viewportSize) |
void |
proxy(com.applitools.eyes.AbstractProxySettings abstractProxySettings) |
void |
serverUrl(String serverUrl) |
void |
setApiKey(String apiKey) |
void |
setBatch(com.applitools.eyes.BatchInfo batch)
Sets the batch in which context future tests will run or
null
if tests are to run standalone. |
void |
setDebugScreenshotsPath(String pathToSave) |
void |
setDebugScreenshotsPrefix(String prefix) |
void |
setImageProvider(com.applitools.eyes.capture.ImageProvider imageProvider) |
void |
setIsDisabled(Boolean disabled) |
void |
setLogHandler(com.applitools.eyes.LogHandler logHandler)
Sets a handler of log messages generated by this API.
|
void |
setSaveDebugScreenshots(boolean saveDebugScreenshots) |
void |
setServerConnector(com.applitools.connectivity.ServerConnector serverConnector) |
void |
setServerUrl(String serverUrl) |
String |
toString() |
public VisualGridEyes(com.applitools.eyes.visualgrid.services.VisualGridRunner renderingGridManager,
com.applitools.eyes.config.ConfigurationProvider configurationProvider)
public void setLogHandler(com.applitools.eyes.LogHandler logHandler)
setLogHandler in interface com.applitools.eyes.IEyesBaselogHandler - Handles log messages generated by this API.public com.applitools.eyes.LogHandler getLogHandler()
getLogHandler in interface com.applitools.eyes.IEyesBasepublic void apiKey(String apiKey)
apiKey in interface com.applitools.eyes.visualgrid.services.IEyespublic void serverUrl(String serverUrl)
serverUrl in interface com.applitools.eyes.visualgrid.services.IEyespublic void setImageProvider(com.applitools.eyes.capture.ImageProvider imageProvider)
public void setSaveDebugScreenshots(boolean saveDebugScreenshots)
public void setDebugScreenshotsPath(String pathToSave)
public void setDebugScreenshotsPrefix(String prefix)
public org.openqa.selenium.WebDriver open(org.openqa.selenium.WebDriver driver,
String appName,
String testName,
com.applitools.eyes.RectangleSize viewportSize)
throws com.applitools.eyes.EyesException
open in interface ISeleniumEyescom.applitools.eyes.EyesExceptionpublic org.openqa.selenium.WebDriver open(org.openqa.selenium.WebDriver webDriver)
open in interface ISeleniumEyespublic com.applitools.eyes.TestResults close(boolean throwException)
close in interface com.applitools.eyes.visualgrid.services.IEyespublic com.applitools.eyes.TestResults abortIfNotClosed()
abortIfNotClosed in interface com.applitools.eyes.IEyesBasepublic com.applitools.eyes.TestResults abort()
abort in interface com.applitools.eyes.IEyesBasepublic void closeAsync()
closeAsync in interface com.applitools.eyes.IEyesBasepublic void abortAsync()
abortAsync in interface com.applitools.eyes.IEyesBasepublic boolean getIsOpen()
getIsOpen in interface com.applitools.eyes.IEyesBasepublic String getApiKey()
getApiKey in interface com.applitools.eyes.IEyesBasegetApiKey in interface com.applitools.eyes.visualgrid.services.IEyespublic void setApiKey(String apiKey)
public void setIsDisabled(Boolean disabled)
setIsDisabled in interface com.applitools.eyes.IEyesBasepublic boolean getIsDisabled()
getIsDisabled in interface com.applitools.eyes.IEyesBasepublic URI getServerUrl()
getServerUrl in interface com.applitools.eyes.IEyesBasegetServerUrl in interface com.applitools.eyes.visualgrid.services.IEyespublic void setServerUrl(String serverUrl)
public void proxy(com.applitools.eyes.AbstractProxySettings abstractProxySettings)
proxy in interface com.applitools.eyes.visualgrid.services.IEyespublic com.applitools.eyes.AbstractProxySettings getProxy()
getProxy in interface com.applitools.eyes.visualgrid.services.IEyespublic boolean isEyesClosed()
isEyesClosed in interface com.applitools.eyes.visualgrid.services.IEyespublic void check(com.applitools.ICheckSettings... checkSettings)
check in interface com.applitools.eyes.visualgrid.services.IEyespublic void check(String name, com.applitools.ICheckSettings checkSettings)
check in interface com.applitools.eyes.visualgrid.services.IEyespublic void check(com.applitools.ICheckSettings checkSettings)
check in interface com.applitools.eyes.visualgrid.services.IEyespublic com.applitools.eyes.Logger getLogger()
getLogger in interface com.applitools.eyes.IEyesBasegetLogger in interface com.applitools.eyes.visualgrid.services.IEyespublic Map<String,com.applitools.eyes.RunningTest> getAllRunningTests()
getAllRunningTests in interface com.applitools.eyes.visualgrid.services.IEyespublic void setServerConnector(com.applitools.connectivity.ServerConnector serverConnector)
public String getFullAgentId()
getFullAgentId in interface com.applitools.eyes.IEyesBasepublic void setBatch(com.applitools.eyes.BatchInfo batch)
null
if tests are to run standalone.batch - The batch info to set.public void addProperty(String name, String value)
addProperty in interface com.applitools.eyes.IEyesBasename - The property name.value - The property value.public void clearProperties()
clearProperties in interface com.applitools.eyes.IEyesBasepublic EyesSeleniumDriver getDriver()
getDriver in interface ISeleniumEyespublic com.applitools.eyes.IBatchCloser getBatchCloser()
getBatchCloser in interface com.applitools.eyes.visualgrid.services.IEyespublic String getBatchId()
getBatchId in interface com.applitools.eyes.visualgrid.services.IEyespublic List<com.applitools.eyes.TestResultContainer> getAllTestResults()
getAllTestResults in interface com.applitools.eyes.visualgrid.services.IEyespublic boolean isCompleted()
isCompleted in interface com.applitools.eyes.visualgrid.services.IEyesCopyright © 2021. All rights reserved.