Interface SupportsRemoteAdbHostOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options

public interface SupportsRemoteAdbHostOption<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<String>
    Get the address of the host where ADB is running.
    default T
    Address of the host where ADB is running (the value of -H ADB command line option).

    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

    • setRemoteAdbHost

      default T setRemoteAdbHost(String host)
      Address of the host where ADB is running (the value of -H ADB command line option). Localhost by default.
      Parameters:
      host - The name host where ADB server is running.
      Returns:
      self instance for chaining.
    • getRemoteAdbHost

      default Optional<String> getRemoteAdbHost()
      Get the address of the host where ADB is running.
      Returns:
      Host name.