public interface SupportsDeviceNameOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEVICE_NAME_OPTION |
| Modifier and Type | Method and 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.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitystatic final java.lang.String DEVICE_NAME_OPTION
default T setDeviceName(java.lang.String deviceName)
deviceName - is the name of the device.default java.util.Optional<java.lang.String> getDeviceName()