* Hide the keyboard. * * ```js * // taps outside to hide keyboard per default * I.hideDeviceKeyboard(); * ``` * * Appium: support Android and iOS *
()
| 1009 | * |
| 1010 | */ |
| 1011 | async hideDeviceKeyboard() { |
| 1012 | onlyForApps.call(this) |
| 1013 | |
| 1014 | return this.axios({ |
| 1015 | method: 'post', |
| 1016 | url: `${this._buildAppiumEndpoint()}/appium/device/hide_keyboard`, |
| 1017 | data: {}, |
| 1018 | }) |
| 1019 | } |
| 1020 | |
| 1021 | /** |
| 1022 | * Send a key event to the device. |
no test coverage detected