Interface SupportsNoSignOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsNoSignOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
NO_SIGN_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesNoSign()
Get whether to skip package signing.default T
noSign()
Skips application signing.default T
setNoSign(boolean value)
Set it to true in order to skip application signing.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
NO_SIGN_OPTION
static final java.lang.String NO_SIGN_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
noSign
default T noSign()
Skips application signing.- Returns:
- self instance for chaining.
-
setNoSign
default T setNoSign(boolean value)
Set it to true in order to skip application signing. By default, all apps are always signed with the default Appium debug signature if they don't have any. This capability cancels all the signing checks and makes the driver to use the application package as is. This capability does not affect .apks packages as these are expected to be already signed.- Parameters:
value
- Whether to skip package signing.- Returns:
- self instance for chaining.
-
doesNoSign
default java.util.Optional<java.lang.Boolean> doesNoSign()
Get whether to skip package signing.- Returns:
- True or false.
-
-