Skip to content

Open-source AI browser agent for Chrome and Firefox (monorepo) 🧠

1.6 KB
Raw Blame
{
  "id": "018",
  "category": "tool-error-pivot",
  "mode": "act",
  "browser": "chrome",
  "tab": {
    "url": "https://www.example.com/page",
    "title": "Example"
  },
  "description": "type_text warned about \"same field twice in a row\". The right move is to click the correct field first.",
  "seed": [
    {
      "role": "user",
      "content": "[Current page context β€” applies to this user message and supersedes older page context for phrases like \"this page\". URL: https://www.example.com/page β€” Title: Example]\n\nfill the email field with \"[email protected]\""
    },
    {
      "role": "assistant",
      "content": "",
      "tool_calls": [
        {
          "id": "call_l_8cf297",
          "type": "function",
          "function": {
            "name": "type_text",
            "arguments": "{\"text\":\"[email protected]\"}"
          }
        }
      ]
    },
    {
      "role": "tool",
      "tool_call_id": "call_l_8cf297",
      "name": "type_text",
      "content": "{\"success\":true,\"warning\":\"Same field twice in a row β€” you may be typing into the wrong field. Click the intended field first.\",\"method\":\"type_text\"}"
    }
  ],
  "expected": {
    "idealNextToolCall": {
      "name": "get_interactive_elements",
      "args": {}
    },
    "antiPatterns": [
      {
        "match": "type_text({text:\"[email protected]\"})",
        "reason": "Will land in the same wrong field again."
      }
    ],
    "successRubric": "Find the actual email input via get_interactive_elements or get_accessibility_tree, click it, THEN type. The warning is a signal to re-target, not to repeat."
  }
}