Interface SupportsSafariDeviceUdidOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariDeviceUdidOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SAFARI_DEVICE_UDID_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getSafariDeviceUdid()
Get the UDID of the device.default T
setSafariDeviceUdid(java.lang.String deviceUdid)
safaridriver will only create a session using hosts whose device UDID matches the value of safari:deviceUDID.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SAFARI_DEVICE_UDID_OPTION
static final java.lang.String SAFARI_DEVICE_UDID_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSafariDeviceUdid
default T setSafariDeviceUdid(java.lang.String deviceUdid)
safaridriver will only create a session using hosts whose device UDID matches the value of safari:deviceUDID. Device UDIDs are compared case-insensitively. NOTE: If Xcode is installed, UDIDs for connected devices are available via the output of instruments(1) and in the Devices and Simulators window (accessed in Xcode via "Window -> Devices and Simulators").- Parameters:
deviceUdid
- Device UDID.- Returns:
- self instance for chaining.
-
getSafariDeviceUdid
default java.util.Optional<java.lang.String> getSafariDeviceUdid()
Get the UDID of the device.- Returns:
- String representing the UDID of the device.
-
-