Package io.appium.java_client
Interface HidesKeyboardWithKeyName
-
- All Superinterfaces:
CanRememberExtensionPresence
,ExecutesMethod
,HidesKeyboard
- All Known Implementing Classes:
IOSDriver
public interface HidesKeyboardWithKeyName extends HidesKeyboard
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
hideKeyboard(java.lang.String keyName)
Hides the keyboard by pressing the button specified by keyName if it is showing.-
Methods inherited from interface io.appium.java_client.CanRememberExtensionPresence
assertExtensionExists, markExtensionAbsence
-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
Methods inherited from interface io.appium.java_client.HidesKeyboard
hideKeyboard
-
-
-
-
Method Detail
-
hideKeyboard
default void hideKeyboard(java.lang.String keyName)
Hides the keyboard by pressing the button specified by keyName if it is showing. If the on-screen keyboard does not have any dedicated button that hides it then an error is going to be thrown. In such case you must emulate same actions an app user would do to hide the keyboard. See the documentation for 'mobile: hideKeyboard' extension for more details.- Parameters:
keyName
- The button pressed by the mobile driver to attempt hiding the keyboard.
-
-