Interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsExtractChromeAndroidPackageFromContextNameOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesExtractChromeAndroidPackageFromContextName()
Get whether to use the android package identifier associated with the context name.default T
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.default T
setExtractChromeAndroidPackageFromContextName(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, setCapability
-
-
-
-
Field Detail
-
EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION
static final java.lang.String EXTRACT_CHROME_ANDROID_PACKAGE_FROM_CONTEXT_NAME_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
extractChromeAndroidPackageFromContextName
default T 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
default T setExtractChromeAndroidPackageFromContextName(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. false by default.- Parameters:
value
- Whether to use the android package identifier associated with the context name.- Returns:
- self instance for chaining.
-
doesExtractChromeAndroidPackageFromContextName
default java.util.Optional<java.lang.Boolean> doesExtractChromeAndroidPackageFromContextName()
Get whether to use the android package identifier associated with the context name.- Returns:
- True or false.
-
-