Class AppiumConfiguration

java.lang.Object
net.thucydides.core.webdriver.appium.AppiumConfiguration

public class AppiumConfiguration extends Object
  • Method Details

    • from

      public static AppiumConfiguration from(EnvironmentVariables environmentVariables)
    • getTargetPlatform

      public MobilePlatform getTargetPlatform(org.openqa.selenium.WebDriver driver)
      Define the platform based on the DesiredCapabilities of the WebDriver first. If that doesn't work, fall back to the Appium platform defined in the system properties or the context. Must be either ios or android.
    • getTargetPlatform

      public MobilePlatform getTargetPlatform()
      Return the Appium platform defined in the system properties or the context. Must be either ios or android.
    • definedTargetPlatform

      public MobilePlatform definedTargetPlatform()
      Return the Appium platform defined in the system properties, or NONE if no platform is defined.
    • definedContext

      public MobilePlatform definedContext()
    • getUrl

      public URL getUrl()
    • getCapabilities

      public org.openqa.selenium.remote.DesiredCapabilities getCapabilities()
    • getCapabilities

      public org.openqa.selenium.remote.DesiredCapabilities getCapabilities(String options)
    • getProperties

      public Properties getProperties(String options)
    • isDefined

      public boolean isDefined()