Hide the onscreen keyboard
@driver.hide_keyboard # Close a keyboard with the 'Done' button @driver.hide_keyboard('Finished') # Close a keyboard with the 'Finished' button
Parameters:
The name of the key which closes the keyboard. Defaults to ‘Done’ for iOS(except for XCUITest).
# File 'lib/appium_lib_core/android/device.rb', line 117