POST
/
v1
/
sessions
/
{sessionId}
/
mouse
/
doubleClick
JavaScript
import Anchorbrowser from 'anchorbrowser';

const client = new Anchorbrowser({
  apiKey: 'My API Key',
});

const response = await client.sessions.mouse.doubleClick('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', {
  x: 0,
  y: 0,
});

console.log(response.status);
{
  "status": "success"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

sessionId
string<uuid>
required

The ID of the browser session

Body

application/json

Response

200
application/json

Double click performed successfully

The response is of type object.