click
Click a page element using a CSS selector and visually verify the result with an automatic screenshot. Optionally navigate to a URL first or wait after clicking.
Instructions
Click an element by CSS selector. Returns a screenshot after the click so you can visually verify the result. Supports standard CSS selectors. If the page hasn't been navigated yet, provide a URL to navigate first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the element to click (e.g., 'button.submit', '#login-btn') | |
| url | No | Optional URL to navigate to before clicking | |
| waitAfter | No | Optional milliseconds to wait after clicking (for animations/transitions) |