Interface SupportsUdidOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
,XCUITestOptions
public interface SupportsUdidOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UDID_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getUdid()
Get the id of the device.default T
setUdid(java.lang.String id)
Set the id of the device.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
UDID_OPTION
static final java.lang.String UDID_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUdid
default T setUdid(java.lang.String id)
Set the id of the device.- Parameters:
id
- is the unique device identifier.- Returns:
- self instance, for chaining.
-
getUdid
default java.util.Optional<java.lang.String> getUdid()
Get the id of the device.- Returns:
- String representing the unique device identifier.
-
-