Package com.applitools.eyes.universal
Class CommandExecutor
- java.lang.Object
-
- com.applitools.eyes.universal.CommandExecutor
-
- All Implemented Interfaces:
AutoCloseable
public class CommandExecutor extends Object implements AutoCloseable
command executor
-
-
Method Summary
-
-
-
Method Detail
-
getInstance
public static CommandExecutor getInstance(RunnerSettings runnerSettings, StaleElementReferenceException e)
-
coreMakeECClient
public MakeECClientResponsePayload coreMakeECClient()
-
coreMakeManager
public Reference coreMakeManager(String type, EyesManagerSettings settings)
-
managerOpenEyes
public Reference managerOpenEyes(Reference ref, ITargetDto target, OpenSettingsDto settings, ConfigurationDto config)
-
eyesCheck
public void eyesCheck(Reference eyesRef, ITargetDto target, CheckSettingsDto settings, ConfigurationDto config)
-
locate
public Map<String,List<RegionDto>> locate(ITargetDto target, VisualLocatorSettingsDto locatorSettingsDto, ConfigurationDto config)
-
locateText
public Map<String,List<TextRegion>> locateText(ITargetDto target, OCRSearchSettingsDto searchSettingsDto, ConfigurationDto config)
-
extractText
public List<String> extractText(ITargetDto target, List<OCRExtractSettingsDto> extractSettingsDtoList, ConfigurationDto config)
-
close
public void close(Reference eyesRef, CloseSettingsDto closeSettings, ConfigurationDto config)
-
eyesGetResults
public List<CommandEyesGetResultsResponseDto> eyesGetResults(Reference eyesRef, GetResultsSettings settings)
-
abort
public void abort(Reference eyesRef, CloseSettingsDto closeSettings)
-
getResults
public TestResultsSummaryDto getResults(Reference managerRef, GetResultsSettings settings)
-
getViewportSize
public static RectangleSizeDto getViewportSize(ITargetDto driver)
-
deleteTest
public static void deleteTest(DeleteTestSettingsDto settings)
-
closeBatch
public static void closeBatch(List<CloseBatchSettingsDto> settings)
-
checkedCommand
public static com.applitools.eyes.SyncTaskListener checkedCommand(Command command)
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-