Method: Appium::Core::Android::Device#hide_keyboard

Defined in:
lib/appium_lib_core/android/device.rb

#hide_keyboard(close_key = nil) ⇒ Object

Hide the onscreen keyboard

Examples:


@driver.hide_keyboard                   # Close a keyboard with the 'Done' button
@driver.hide_keyboard('Finished')       # Close a keyboard with the 'Finished' button

Parameters:

  • close_key (String) (defaults to: nil)

    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