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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<Boolean>
    Get whether to prevent the driver from ever killing the ADB server explicitly.
    default T
    setSuppressKillServer(boolean value)
    Being set to true prevents the driver from ever killing the ADB server explicitly.
    default T
    Prevents the driver from ever killing the ADB server explicitl.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<Boolean> doesSuppressKillServer()
      Get whether to prevent the driver from ever killing the ADB server explicitly.
      Returns:
      True or false.