Interface SupportsSafariDeviceNameOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
SafariOptions
public interface SupportsSafariDeviceNameOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the device.default TsetSafariDeviceName(String deviceName) safaridriver will only create a session using hosts whose device name matches the value of safari:deviceName.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_NAME_OPTION
- See Also:
-
-
Method Details
-
setSafariDeviceName
safaridriver will only create a session using hosts whose device name matches the value of safari:deviceName. Device names are compared case-insensitively. NOTE: Device names for connected devices are shown in iTunes. If Xcode is installed, device names 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:
deviceName- Device name.- Returns:
- self instance for chaining.
-
getSafariDeviceName
Get the name of the device.- Returns:
- String representing the name of the device.
-