Package io.percy.appium.lib
Class CliWrapper
java.lang.Object
io.percy.appium.lib.CliWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks to make sure the local Percy server is running.postScreenshot(String name, org.json.JSONObject tag, List<Tile> tiles, String externalDebugUrl, org.json.JSONObject ignoredElementsData, org.json.JSONObject consideredElementsData) POST the Screenshot taken from the app to the Percy CLI node process.postScreenshotPOA(String name, String sessionId, String commandExecutorUrl, Map<String, Object> capabilities, Map<String, Object> options)
-
Constructor Details
-
CliWrapper
public CliWrapper(io.appium.java_client.AppiumDriver driver)
-
-
Method Details
-
healthcheck
public boolean healthcheck()Checks to make sure the local Percy server is running. If not, disable Percy. -
postScreenshot
public String postScreenshot(String name, org.json.JSONObject tag, List<Tile> tiles, String externalDebugUrl, org.json.JSONObject ignoredElementsData, org.json.JSONObject consideredElementsData) POST the Screenshot taken from the app to the Percy CLI node process.- Parameters:
name- The human-readable name of the screenshot. Should be unique.
-
postScreenshotPOA
-