Input.insertTextThis method emulates inserting text that doesn't come from a key press, for example an emoji keyboard or an IME.
| Name | Type | Description |
|---|---|---|
text | string | The text to insert. |
{
"id": 1,
"method": "Input.insertText",
"params": {
"text": "text-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Input.insertText', {"text": "text-value"});
console.log(result);