public interface SupportsSafariDeviceNameOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SAFARI_DEVICE_NAME_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.String> |
getSafariDeviceName()
Get the name of the device.
|
default T |
setSafariDeviceName(java.lang.String deviceName)
safaridriver will only create a session using hosts whose device name
matches the value of safari:deviceName.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String SAFARI_DEVICE_NAME_OPTION
default T setSafariDeviceName(java.lang.String deviceName)
deviceName
- Device name.default java.util.Optional<java.lang.String> getSafariDeviceName()