Interface SupportsSimulatorPasteboardAutomaticSyncOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSimulatorPasteboardAutomaticSyncOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<PasteboardSyncState>Get the pasteboard automation sync state.default THandle the -PasteboardAutomaticSync flag when simulator process launches.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_PASTEBOARD_AUTOMATIC_SYNC
- See Also:
-
-
Method Details
-
setSimulatorPasteboardAutomaticSync
Handle the -PasteboardAutomaticSync flag when simulator process launches. It could improve launching simulator performance not to sync pasteboard with the system when this value is off. on forces the flag enabled. system does not provide the flag to the launching command. on, off, or system is available. They are case-insensitive. Defaults to off.- Parameters:
state- Either on, off or system.- Returns:
- self instance for chaining.
-
getSimulatorPasteboardAutomaticSync
Get the pasteboard automation sync state.- Returns:
- Pasteboard sync state.
-