Interface SupportsForceSimulatorSoftwareKeyboardPresenceOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsForceSimulatorSoftwareKeyboardPresenceOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet to enforce software keyboard presence.default TEnforce software keyboard presence.default TsetForceSimulatorSoftwareKeyboardPresence(boolean value) Set this option to true in order to turn software keyboard on and turn hardware keyboard off in Simulator since Appium 1.22.0.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
-
FORCE_SIMULATOR_SOFTWARE_KEYBOARD_PRESENCE_OPTION
- See Also:
-
-
Method Details
-
forceSimulatorSoftwareKeyboardPresence
Enforce software keyboard presence.- Returns:
- self instance for chaining.
-
setForceSimulatorSoftwareKeyboardPresence
Set this option to true in order to turn software keyboard on and turn hardware keyboard off in Simulator since Appium 1.22.0. This option helps to avoid Keyboard is not present error. It is set to true by default. Appium respects preset simulator software/hardware keyboard preference when this value is false, so connectHardwareKeyboard: false and forceSimulatorSoftwareKeyboardPresence: false means for Appium to keep the current Simulator keyboard preferences. This option has priority over connectHardwareKeyboard.- Parameters:
value- Whether to enforce software keyboard presence.- Returns:
- self instance for chaining.
-
doesForceSimulatorSoftwareKeyboardPresence
Get to enforce software keyboard presence.- Returns:
- True or false.
-