/// <summary> /// Hides the device keyboard. /// </summary> /// <param name="strategy">Hide keyboard strategy (optional, UIAutomation only). Available strategies - 'press', 'pressKey', 'swipeDown', 'tapOut', 'tapOutside', 'default'.</param> /// <param name="key">The button pressed by the mobile driver to attempt hiding the keyboard.</param> public void HideKeyboard(string strategy, string key) => AppiumCommandExecutionHelper.HideKeyboard(executeMethod: this, strategy: strategy, key: key);
/// <summary> /// Hides the device keyboard. /// </summary> public void HideKeyboard() => AppiumCommandExecutionHelper.HideKeyboard(this, null, null);