Interface SupportsSuppressKillServerOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsSuppressKillServerOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet 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 TPrevents the driver from ever killing the ADB server explicitl.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
SUPPRESS_KILL_SERVER_OPTION
- See Also:
-
-
Method Details
-
suppressKillServer
Prevents the driver from ever killing the ADB server explicitl.- Returns:
- self instance for chaining.
-
setSuppressKillServer
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
Get whether to prevent the driver from ever killing the ADB server explicitly.- Returns:
- True or false.
-