Interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet whether to use the android package identifier associated with the context name.default TTell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test.default TsetExtractChromeAndroidPackageFromContextName(boolean value) If set to true, tell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test.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
-
EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION
- See Also:
-
-
Method Details
-
extractChromeAndroidPackageFromContextName
Tell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test.- Returns:
- self instance for chaining.
-
setExtractChromeAndroidPackageFromContextName
If set to true, tell chromedriver to attach to the android package we have associated with the context name, rather than the package of the application under test. false by default.- Parameters:
value- Whether to use the android package identifier associated with the context name.- Returns:
- self instance for chaining.
-
doesExtractChromeAndroidPackageFromContextName
Get whether to use the android package identifier associated with the context name.- Returns:
- True or false.
-