Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jun 27, 2019 14:53

By Daniel Tourgman

How to hide the keyboard on iPad devices using the Press Key method. This is useful when there are objects behind the keyboard.

To automatically close the keyboard on iPad devices, click on the “Hide Keyboard” button (circled below).


To hide the keyboard, use the Press Key method with the HIDE_KEYBOARD Key value. Click here for more information on the press key command.

Selenium/ Appium (Java Client):

Map<String,Object> param = new HashMap<>();
param.put("keySequence", "HIDE_KEYBOARD ");
driver.executeScript("mobile:presskey", param);

UFT Mobile:

Device("DUT").PressKey "HIDE_KEYBOARD"

Native Automation: