click

rootComponents. click

Source:

Click the coordinates provided by an event's clientX and clientY coordinates. Additionally, debug can be enabled to see the cursor position of of the click action.

Example

const event = { clientX: 500, clientY: 500 }; // sample event
$$$.click(event); // clicks the positions provided in the event
$$$.click(event, true); // enable cursor visual with `debug` set to `true`