Interface SupportsSafariDeviceUdidOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariDeviceUdidOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the UDID of the device.default TsetSafariDeviceUdid(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
SAFARI_DEVICE_UDID_OPTION
- See Also:
-
-
Method Details
-
setSafariDeviceUdid
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
Get the UDID of the device.- Returns:
- String representing the UDID of the device.
-