Open-source AI browser agent for Chrome and Firefox (monorepo) đź§
JavaScript ai-agentai-agentsai-toolsbrowser-aibrowser-automationbrowser-extensionchrome-aichrome-devtoolschrome-extensionchrome-extensionsfirefox-addonfirefox-addonsfirefox-extensionfirefox-extensionsgemmagemma4minimaxoffline-aioffline-llmqwen
{
"id": "037",
"user": "close the cookie banner",
"tab": {
"url": "https://www.theguardian.com/uk",
"title": "The Guardian"
},
"latencyMs": 7643,
"error": null,
"firstToolCall": null,
"toolCallSource": null,
"finishReason": "stop",
"content": "I’ll start by reading the page with `get_accessibility_tree` using the `visible` filter so I can see the cookie banner and identify its close button (usually labeled “Dismiss” or “Close”). Once I locate that button—either by its stable `ref_id` (e.g., `ref_XX`) or by its text—I’ll click it with `click_ax` (or fall back to `click` if the ref_id isn’t available). Clicking the close button should dismiss the cookie banner. After the click I can verify the banner is gone by taking a screenshot.",
"usage": {
"prompt_tokens": 8610,
"total_tokens": 9903,
"completion_tokens": 1293,
"prompt_tokens_details": null
}
}