> ## Documentation Index
> Fetch the complete documentation index at: https://docs.notte.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# MouseClickAction

> Click at a point of the viewport, for content without element ids: canvas, WebGL or 3D scenes, maps

> [!TIP]
>
> Read [the Notte skill](https://notte.cc/skill.md) and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.

**Example:**

```python theme={null}
session.execute(type="mouse_click", x=640, y=360)
session.execute(type="mouse_click", x=640, y=360, click_count=2)  # double click
```

## Fields

**type** `Literal['mouse_click']` (default: mouse\_click)

**category** `str` (default: Special Browser Actions)

**description** `str` (default: Click at viewport coordinates (x, y), read from a screenshot. Use it for canvas, WebGL or 3D content that has no element id)

**x** `float` *required*

Horizontal coordinate in CSS pixels from the top-left corner of the viewport, as in a screenshot at device scale 1

**y** `float` *required*

Vertical coordinate in CSS pixels from the top-left corner of the viewport, as in a screenshot at device scale 1

**button** `Literal['left', 'right', 'middle']` (default: left)

**click\_count** `int` (default: 1)

1 for a click, 2 for a double click

## Module

`notte_core.actions.actions`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.