click
Click a webpage element (e.g., pagination button) by CSS selector and return the cleaned content of the resulting page, with options to limit results to a specific section or wait for client-side updates.
Instructions
Click an element by CSS selector (e.g. a pagination button) and return the resulting page's cleaned content.
On stateful pages (large SPA/ASP.NET markup) re-returning the whole page
every click is wasteful. Pass result_selector (a CSS selector, e.g.
"table#resultsGrid tbody") to get back only that part of the post-click page.
If the click triggers a client-side fetch (e.g. a filter or "load more"
button) rather than a full reload, pass wait_for_selector/wait_for_idle
the same way as navigate so the returned content isn't read too early.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | ||
| timeout_ms | No | ||
| wait_for_idle | No | ||
| result_selector | No | ||
| wait_for_selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |