Class AppiumConfiguration
java.lang.Object
net.thucydides.core.webdriver.appium.AppiumConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionReturn the Appium platform defined in the system properties, or NONE if no platform is defined.static AppiumConfiguration
from
(EnvironmentVariables environmentVariables) org.openqa.selenium.remote.DesiredCapabilities
org.openqa.selenium.remote.DesiredCapabilities
getCapabilities
(String options) getProperties
(String options) Return the Appium platform defined in the system properties or the context.getTargetPlatform
(org.openqa.selenium.WebDriver driver) Define the platform based on theDesiredCapabilities
of theWebDriver
first.getUrl()
boolean
-
Method Details
-
from
-
getTargetPlatform
Define the platform based on theDesiredCapabilities
of theWebDriver
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
Return the Appium platform defined in the system properties or the context. Must be either ios or android. -
definedTargetPlatform
Return the Appium platform defined in the system properties, or NONE if no platform is defined. -
definedContext
-
getUrl
-
getCapabilities
public org.openqa.selenium.remote.DesiredCapabilities getCapabilities() -
getCapabilities
-
getProperties
-
isDefined
public boolean isDefined()
-