> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.doc-detective.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.doc-detective.com/_mcp/server.

# Find element and click

> Reference for the `Find element and click` schema.

## Referenced In

* [Find element (detailed)](/reference/schemas/find-element-detailed)

## Fields

| Field    | Type    | Description                                                                                                                                                                                                 | Default |
| :------- | :------ | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------ |
| button   | string  | Optional. Kind of click to perform. Accepted values: `left`, `right`, `middle`                                                                                                                              | —       |
| duration | integer | Optional. How long to hold the press, in milliseconds. A long-press (touch-and-hold) on mobile app surfaces; press-and-hold of the button on desktop apps and browsers. Omit for a normal click. Minimum: 1 | —       |

## Examples

```json
{
  "button": "left",
  "duration": 42
}
```