---
{
  "schemaVersion": 1,
  "operationType": "browser.element.click",
  "executorClass": "aivane.browser.executor.BrowserElementClickExecutor",
  "displayName": "click element",
  "description": "Click on the specified page element",
  "category": "browser.element",
  "platforms": [
    "browser"
  ],
  "parameters": [
    {
      "name": "sessionId",
      "type": "string",
      "description": "Browser session ID; when empty, the current context session is used."
    },
    {
      "name": "ref",
      "type": "string",
      "description": "An element reference generated by browser.snapshot, such as @e1."
    },
    {
      "name": "selector",
      "type": "string",
      "description": "Selectors supported by CSS or Playwright."
    },
    {
      "name": "timeout",
      "type": [
        "integer",
        "string"
      ],
      "default": 30000,
      "description": "Click operation timeout, in milliseconds."
    },
    {
      "name": "waitTimeout",
      "type": [
        "integer",
        "string"
      ],
      "default": 5000,
      "description": "The timeout to wait for the element to become interactive before clicking."
    },
    {
      "name": "force",
      "type": [
        "boolean",
        "string"
      ],
      "default": false,
      "description": "Whether to force click."
    },
    {
      "name": "clickCount",
      "type": [
        "integer",
        "string"
      ],
      "default": 1,
      "description": "Number of clicks."
    },
    {
      "name": "button",
      "type": "string",
      "default": "left",
      "enumValues": [
        "left",
        "right",
        "middle"
      ],
      "description": "Mouse buttons."
    }
  ],
  "constraints": {
    "oneOfRequired": [
      "ref",
      "selector"
    ]
  }
}
---

# browser.element.click
