Interface SupportsKeystoreOptions<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsKeystoreOptions<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_ALIAS_OPTIONstatic java.lang.StringKEY_PASSWORD_OPTIONstatic java.lang.StringKEYSTORE_PASSWORD_OPTIONstatic java.lang.StringKEYSTORE_PATH_OPTIONstatic java.lang.StringUSE_KEYSTORE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>doesUseKeystore()Get whether to use a custom keystore.default java.util.Optional<KeystoreConfig>getKeystoreConfig()Get the custom keystore config.default TsetKeystoreConfig(KeystoreConfig keystoreConfig)Use a custom keystore to sign the app under test.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
USE_KEYSTORE_OPTION
static final java.lang.String USE_KEYSTORE_OPTION
- See Also:
- Constant Field Values
-
KEYSTORE_PATH_OPTION
static final java.lang.String KEYSTORE_PATH_OPTION
- See Also:
- Constant Field Values
-
KEYSTORE_PASSWORD_OPTION
static final java.lang.String KEYSTORE_PASSWORD_OPTION
- See Also:
- Constant Field Values
-
KEY_ALIAS_OPTION
static final java.lang.String KEY_ALIAS_OPTION
- See Also:
- Constant Field Values
-
KEY_PASSWORD_OPTION
static final java.lang.String KEY_PASSWORD_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setKeystoreConfig
default T setKeystoreConfig(KeystoreConfig keystoreConfig)
Use a custom keystore to sign the app under test.- Parameters:
keystoreConfig- The keystore config to use.- Returns:
- self instance for chaining.
-
doesUseKeystore
default java.util.Optional<java.lang.Boolean> doesUseKeystore()
Get whether to use a custom keystore.- Returns:
- True or false.
-
getKeystoreConfig
default java.util.Optional<KeystoreConfig> getKeystoreConfig()
Get the custom keystore config.- Returns:
- The keystore config.
-
-