Scrolls into view the form control element and then sends the provided keys to the element, or returns the current value of the element. In case the element is not keyboard interactable, an element not interactable error is returned.

Please note that this command operates on a protocol level and accepts the Web Element ID as the parameter. To retrieve it, use either the .element() or .elements() command. Read more on Element retrieval.



Name Type description
webElementId string

The Web Element ID of the element to route the command to.


Value to send to element in case of a POST

callback function

Callback function which is called with the result value.

W3C WebDriver spec