Skip to content

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

1.5 KB
Raw Blame
{
  "id": "075",
  "category": "cross-lingual",
  "mode": "act",
  "browser": "chrome",
  "tab": {
    "url": "https://www.example.com/form",
    "title": "Formulario"
  },
  "description": "Spanish form, English user request, RTL/LTR mix concerns. Should focus the right field.",
  "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/form β€” Title: Formulario]\n\nput \"alice\" in the name field"
    },
    {
      "role": "assistant",
      "content": "",
      "tool_calls": [
        {
          "id": "call_2n_08fe94",
          "type": "function",
          "function": {
            "name": "get_interactive_elements",
            "arguments": "{}"
          }
        }
      ]
    },
    {
      "role": "tool",
      "tool_call_id": "call_2n_08fe94",
      "name": "get_interactive_elements",
      "content": "[{\"index\":0,\"tag\":\"input\",\"text\":\"Nombre\",\"placeholder\":\"Nombre\"},{\"index\":1,\"tag\":\"input\",\"text\":\"Apellido\",\"placeholder\":\"Apellido\"}]"
    }
  ],
  "expected": {
    "idealNextToolCall": {
      "name": "click",
      "args": {
        "index": 0
      }
    },
    "antiPatterns": [
      {
        "match": "click({text:\"Name\"})",
        "reason": "No field labeled \"Name\" β€” it's \"Nombre\"."
      }
    ],
    "successRubric": "Map \"name\" β†’ \"Nombre\". Then click the field, then type. Cross-lingual field mapping."
  }
}