public interface SupportsSafariDeviceTypeOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SAFARI_DEVICE_TYPE_OPTION |
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.lang.String> |
getSafariDeviceType()
Get the type of the device.
|
default T |
setSafariDeviceType(java.lang.String deviceType)
If the value of safari:deviceType is 'iPhone', safaridriver will only create a session
using an iPhone device or iPhone simulator.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
amend, setCapability
static final java.lang.String SAFARI_DEVICE_TYPE_OPTION
default T setSafariDeviceType(java.lang.String deviceType)
deviceType
- Device type name.default java.util.Optional<java.lang.String> getSafariDeviceType()