click
Target CSS selectors or annotation IDs to trigger mouse actions, drag-and-drop, hover, iframe handling, video player control, and automatic retry for web automation.
Instructions
Click or drag a page element by CSS selector or annotation ID. Supports drag-and-drop / slider manipulation via dragTo, iframe context, hover before click, video player API, and automatic retry with fallback selectors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delay | No | ||
| aiHeal | No | Try alternative selector if primary fails | |
| dragTo | No | Drag and drop the source element to target selector or coordinates with biological friction and overshoot correction | |
| iframe | No | Target a specific iframe by index (use media_extractor list_iframes to get index) | |
| retries | No | Retry count on failure | |
| timeout | No | Max time to wait for element to appear (ms) | |
| selector | No | CSS selector for the element to click | |
| hoverOnly | No | Hover only, do not click (to reveal hidden controls) | |
| humanLike | No | Smooth cursor movement before click | |
| clickCount | No | ||
| forceClick | No | Click via JavaScript even if element is not visible | |
| hoverFirst | No | Hover over element before clicking (for dynamic controls) | |
| waitForPlay | No | Wait until the video starts playing after click | |
| annotationId | No | Annotation number from see_page(annotate:true) — use instead of selector | |
| usePlayerAPI | No | Control video player via its JavaScript API instead of DOM click | |
| hoverDuration | No | Wait time after hover before clicking (ms) | |
| playerTimeout | No | Max time to wait for video playback to start (ms) | |
| iframeSelector | No | Target a specific iframe by CSS selector | |
| scrollIntoView | No | Scroll element into view before clicking | |
| autoDetectPlayer | No | Detect and target embedded video player iframes automatically | |
| autoAcceptDialogs | No | Auto-dismiss browser dialogs (alerts, confirms) |