click
Clicks a page element using a CSS selector or CSS-pixel coordinates. Targets the center of the element after scrolling it into view.
Instructions
Click in a renderer page, either by CSS selector (scrolled into view, clicked at its center) or by raw CSS-pixel coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate in CSS pixels (with y, if no selector). | |
| y | No | Y coordinate in CSS pixels (with x, if no selector). | |
| pageId | Yes | Page id from list_pages. | |
| selector | No | CSS selector of the element to click. | |
| sessionId | Yes | Session id returned by launch_app. |