Interface SupportsSuppressKillServerOption<T extends BaseOptions<T>>

    • 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 T setSuppressKillServer​(boolean value)
      Being set to true prevents the driver from ever killing the ADB server explicitly.
      default T suppressKillServer()
      Prevents the driver from ever killing the ADB server explicitl.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • 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.