Web Click
web_clickClicks an element on the current page. target is a CSS selector or visible text (resolved fresh each call). Clicks that SUBMIT a form preview first — call again with confirm:true to execute; plain links/buttons click directly. Returns {url, title, navigated, url_as_of}: url_as_of is "settled" when the page has finished changing, and "before_click" together with navigation_pending:true when the click started a navigation that had not finished — in that case url/title are the page BEFORE the click, NOT the destination, so do not read them as 'the click did nothing' and retry (the page is already changing); read the destination with web_read or wait for it with web_wait_for. navigated:false means the click changed no page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | CSS selector or visible text of the element to click. | |
| confirm | No | Required (true) to perform a click that submits a form. | |
| session | No | Session name (default 'default'). |