Interface SupportsDeviceNameOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options,XCUITestOptions
public interface SupportsDeviceNameOption<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 TsetDeviceName(String deviceName) Set the name of the device.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
-
DEVICE_NAME_OPTION
- See Also:
-
-
Method Details
-
setDeviceName
Set the name of the device.- Parameters:
deviceName- is the name of the device.- Returns:
- self instance for chaining.
-
getDeviceName
Get the name of the device.- Returns:
- String representing the name of the device.
-