click
Load a URL in a fresh browser context, wait for the page to settle, then click the first element matching a CSS selector. Returns the resulting URL and page text after any navigation triggered by the click.
Instructions
Click an element on a one-off page: loads url in a fresh browser context (stateless — no cookies unless passed, no shared state with other calls), waits wait_secs after load before clicking, then fires a DOM click on the first CSS-selector match. The click may trigger navigation (link, form submit) — the response url and text_after are read after that navigation lands. Returns clicked:false when the selector matches nothing. For multi-step interaction on a shared page use session_click instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to load | |
| selector | Yes | CSS selector of element to click | |
| wait_secs | No | Seconds to wait for the page to settle after load, before clicking |