Interface SupportsRemoteAdbHostOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.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 java.lang.String
REMOTE_ADB_HOST_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getRemoteAdbHost()
Get the address of the host where ADB is running.default T
setRemoteAdbHost(java.lang.String host)
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
-
-
-
-
Field Detail
-
REMOTE_ADB_HOST_OPTION
static final java.lang.String REMOTE_ADB_HOST_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setRemoteAdbHost
default T setRemoteAdbHost(java.lang.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 java.util.Optional<java.lang.String> getRemoteAdbHost()
Get the address of the host where ADB is running.- Returns:
- Host name.
-
-