Package io.percy.appium
Class AppPercy
java.lang.Object
io.percy.appium.AppPercy
Percy client for visual testing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()static voidstatic voidvoidscreenshot(String name) Take a screenshot and upload it to Percy.voidscreenshot(String name, ScreenshotOptions options) Take a screenshot and upload it to Percy.voidscreenshot(String name, Boolean fullScreen) Take a screenshot and upload it to Percy.voidscreenshot(String name, Boolean fullScreen, ScreenshotOptions options) Take a screenshot and upload it to Percy.
-
Constructor Details
-
AppPercy
public AppPercy(io.appium.java_client.AppiumDriver driver) - Parameters:
driver- The Appium Driver object that will hold the app 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.fullScreen- It indicates if the app is a full screen
-
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
-
screenshot
Take a screenshot and upload it to Percy.- Parameters:
name- The human-readable name of the screenshot. Should be unique.fullScreen- It indicates if the app is a full screenoptions- Optional screenshot params
-
finalize
-
log
-
log
-