MCPcopy
hub / github.com/codeceptjs/CodeceptJS / hideDeviceKeyboard

Method hideDeviceKeyboard

lib/helper/Appium.js:1011–1019  ·  view source on GitHub ↗

* Hide the keyboard. * * ```js * // taps outside to hide keyboard per default * I.hideDeviceKeyboard(); * ``` * * Appium: support Android and iOS *

()

Source from the content-addressed store, hash-verified

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.

Callers 4

Appium_ios_test.jsFile · 0.80
Appium_test.jsFile · 0.80
AppiumTs.types.tsFile · 0.80
Appium.types.tsFile · 0.80

Calls 1

_buildAppiumEndpointMethod · 0.95

Tested by

no test coverage detected