Class PercyOnAutomate

java.lang.Object
io.percy.appium.IPercy
io.percy.appium.PercyOnAutomate

public class PercyOnAutomate extends IPercy
  • 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

      public void screenshot(String name)
      Take a screenshot and upload it to Percy.
      Parameters:
      name - The human-readable name of the screenshot. Should be unique.
    • screenshot

      public void screenshot(String name, Map<String,Object> options)
      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

      protected void setCliWrapper(CliWrapper cli)