Anchor Browser icon

Anchor Browser

Interact with Anchor Browser API for browser automation and control

OS Level Control → Mouse Click

AI-generated

Summary

Send a mouse click event to a specified browser session at given screen coordinates, specifying the mouse button to use.

Inputs

  • Base URL — The base URL of the Anchor Browser API (defaults to https://api.anchorbrowser.io).
  • Session ID (required) — The ID of the active browser session to target with the mouse click.
  • Mouse Click Configuration (required) — Settings for the mouse click including the X and Y screen coordinates (both required) and the mouse button to click (left, middle, or right; defaults to left).

Output shape

a JSON object representing the API response confirming the mouse click action

The operation requires a valid session ID. It uses the Anchor Browser API to perform the click and returns the API response JSON. No binary data is returned.

Examples

Example 1: Perform a left-click at coordinates X=100, Y=200 on a browser session

Set sessionId to the active session's ID, set mouseClickConfig.x to 100, mouseClickConfig.y to 200, and mouseClickConfig.button to 'left' (or omit for default).

Discussion