Interface SupportsSimulatorPasteboardAutomaticSyncOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsSimulatorPasteboardAutomaticSyncOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SIMULATOR_PASTEBOARD_AUTOMATIC_SYNC
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<PasteboardSyncState>
getSimulatorPasteboardAutomaticSync()
Get the pasteboard automation sync state.default T
setSimulatorPasteboardAutomaticSync(PasteboardSyncState state)
Handle the -PasteboardAutomaticSync flag when simulator process launches.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
SIMULATOR_PASTEBOARD_AUTOMATIC_SYNC
static final java.lang.String SIMULATOR_PASTEBOARD_AUTOMATIC_SYNC
- See Also:
- Constant Field Values
-
-
Method Detail
-
setSimulatorPasteboardAutomaticSync
default T setSimulatorPasteboardAutomaticSync(PasteboardSyncState state)
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
default java.util.Optional<PasteboardSyncState> getSimulatorPasteboardAutomaticSync()
Get the pasteboard automation sync state.- Returns:
- Pasteboard sync state.
-
-