Interface SupportsSkipServerInstallationOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsSkipServerInstallationOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SKIP_SERVER_INSTALLATION_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>
doesSkipServerInstallation()
Get whether to skip the server components installation on the device under test and all the related checks.default T
setSkipServerInstallation(boolean value)
Set whether to skip the server components installation on the device under test and all the related checks.default T
skipServerInstallation()
Enables skipping of the server components installation on the device under test and all the related checks.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SKIP_SERVER_INSTALLATION_OPTION
static final java.lang.String SKIP_SERVER_INSTALLATION_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
skipServerInstallation
default T skipServerInstallation()
Enables skipping of the server components installation on the device under test and all the related checks. This could help to speed up the session startup if you know for sure the correct server version is installed on the device. In case the server is not installed or an incorrect version of it is installed then you may get an unexpected error later.- Returns:
- self instance for chaining.
-
setSkipServerInstallation
default T setSkipServerInstallation(boolean value)
Set whether to skip the server components installation on the device under test and all the related checks. This could help to speed up the session startup if you know for sure the correct server version is installed on the device. In case the server is not installed or an incorrect version of it is installed then you may get an unexpected error later.- Parameters:
value
- True to skip the server installation.- Returns:
- self instance for chaining.
-
doesSkipServerInstallation
default java.util.Optional<java.lang.Boolean> doesSkipServerInstallation()
Get whether to skip the server components installation on the device under test and all the related checks.- Returns:
- True or false.
-
-