Interface SupportsSuppressKillServerOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsSuppressKillServerOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSUPPRESS_KILL_SERVER_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>doesSuppressKillServer()Get whether to prevent the driver from ever killing the ADB server explicitly.default TsetSuppressKillServer(boolean value)Being set to true prevents the driver from ever killing the ADB server explicitly.default TsuppressKillServer()Prevents the driver from ever killing the ADB server explicitl.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SUPPRESS_KILL_SERVER_OPTION
static final java.lang.String SUPPRESS_KILL_SERVER_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
suppressKillServer
default T suppressKillServer()
Prevents the driver from ever killing the ADB server explicitl.- Returns:
- self instance for chaining.
-
setSuppressKillServer
default T setSuppressKillServer(boolean value)
Being set to true prevents the driver from ever killing the ADB server explicitly. Could be useful if ADB is connected wirelessly. false by default.- Parameters:
value- Whether to prevent the driver from ever killing the ADB server explicitly.- Returns:
- self instance for chaining.
-
doesSuppressKillServer
default java.util.Optional<java.lang.Boolean> doesSuppressKillServer()
Get whether to prevent the driver from ever killing the ADB server explicitly.- Returns:
- True or false.
-
-