Clicks an element (with a query selector)

Options:

OptionRequiredDescriptionExample
querySelectortrue(string) Query selector of the element to click.# printMe
offsetXfalse(number) Offset X of the element to click on
offsetYfalse(number) Offset Y of the element to click on
rightClickfalse(bool) Whether or not to perform right click
doubleClickfalse(bool) Whether or not to perform double click
ariaSelectorfalse(string) Aria Selector of the element to click on
textSelectorfalse(string) Text Selector of the element to click on
xpathSelectorfalse(string) Xpath Selector of the element to click on
pierceSelectorfalse(string) Pierce Selector of the element to click on

Example 1: Clicks the given element (querySelector)

{
  "action": "click",
  "options": {
    "querySelector": "#printMe"
  }
}