Skip to content

hide_keyboard

roei sabag edited this page Jul 12, 2020 · 1 revision

Description

Hide soft keyboard.

Scope

Mobile Web, Mobile Native

Properties

None

Command Line Arguments (CLI)

None

W3C Web Driver Protocol

http://appium.io/docs/en/commands/device/keys/hide-keyboard/

Examples

Example no. 1

Hide soft keyboard..

Action Rule (JSON)

{
    "action": "HideKeyboard"
}

Rhino Literal

hide keyboard

CSharp

// option no.1
var actionRule = new ActionRule
{
    Action = PluginsList.HideKeyboard
};

// option no.2
var actionRule = new
{
    Action = "HideKeyboard"
};

Python

action_rule = {
    "action": "HideKeyboard"
}

Java Script

var actionRule = {
    action: "HideKeyboard"
};

Java

ActionRule actionRule = new ActionRule().setAction("HideKeyboard");

Clone this wiki locally