.exports() Suggest edits
Scrolls into view the element and clicks the in-view center point. If the element is not pointer-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 .findElement() or .findElements() command. Read more on Element retrieval.
Usage
Parameters
| Name | Type | description |
|---|---|---|
webElementId |
string | The Web Element ID of the element to route the command to. |
callbackOptional |
function | Optional callback function to be called when the command finishes. |