Interface SupportsSimulatorWindowCenterOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSimulatorWindowCenterOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet Simulator window center coordinates.default TsetSimulatorWindowCenter(String coordinates) Allows to explicitly set the coordinates of Simulator window center for Xcode9+ SDK.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
-
SIMULATOR_WINDOW_CENTER_OPTION
- See Also:
-
-
Method Details
-
setSimulatorWindowCenter
Allows to explicitly set the coordinates of Simulator window center for Xcode9+ SDK. This capability only has an effect if Simulator window has not been opened yet for the current session before it started. e.g. "{-100.0,100.0}" or "{500,500}", spaces are not allowed- Parameters:
coordinates- Window center coordinates.- Returns:
- self instance for chaining.
-
getSimulatorWindowCenter
Get Simulator window center coordinates.- Returns:
- Coordinates string.
-