Interface SupportsAppOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options,WindowsOptions,XCUITestOptions
public interface SupportsAppOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
APP_OPTION
- See Also:
-
-
Method Details
-
setApp
Set the absolute local path for the location of the App. The app must be located on the same machine where Appium server is running.- Parameters:
path- is a String representing the location of the App- Returns:
- self instance for chaining.
-
setApp
Set the remote http URL for the location of the App.- Parameters:
url- is the URL representing the location of the App- Returns:
- self instance for chaining.
-
getApp
Get the app location.- Returns:
- String representing app location
-