Package io.percy.appium
Class PercyOnAutomate
java.lang.Object
io.percy.appium.IPercy
io.percy.appium.PercyOnAutomate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidscreenshot(String name) Take a screenshot and upload it to Percy.voidscreenshot(String name, Map<String, Object> options) Take a screenshot and upload it to Percy.protected voidsetCliWrapper(CliWrapper cli)
-
Constructor Details
-
PercyOnAutomate
public PercyOnAutomate(io.appium.java_client.AppiumDriver driver) - Parameters:
driver- The Appium Driver object that will hold the session to screenshot.
-
-
Method Details
-
screenshot
Take a screenshot and upload it to Percy.- Parameters:
name- The human-readable name of the screenshot. Should be unique.
-
screenshot
Take a screenshot and upload it to Percy.- Parameters:
name- The human-readable name of the screenshot. Should be unique.options- Optional screenshot params
-
setCliWrapper
-