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