{
  "slug": "element-tools-accept-language-specific-locators-ff0ebb7f3f2a",
  "title": "Element tools accept language-specific locators",
  "tools": [
    "playwright-mcp"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-31T15:20:06.000Z",
  "announced_at": "2026-10-31T15:20:06.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When interacting with a page element, pass its locator or snapshot ref in `target`. For example, click with `browser_click` and a JavaScript locator string.",
    "examples": [
      "browser_click { \"target\": \"getByRole('button', { name: 'Submit' })\" }"
    ],
    "gotchas": [
      "Version: v0.0.84",
      "target (required): Snapshot ref or unique selector; for this call, the locator string.",
      "Invalid targets return an actionable error."
    ]
  },
  "why_it_matters": "Target an element with a JavaScript, Python, Java, or C# locator when interacting with a page.",
  "sources": [
    "https://github.com/microsoft/playwright-mcp/releases/tag/v0.0.84",
    "https://github.com/microsoft/playwright-mcp/blob/v0.0.84/README.md"
  ],
  "rank": 0.97051,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261031-20",
    "verdict_id": "daily-20261031-20:daily-20261031-20-4ed16df91a2ae7c3-4:gate",
    "evidence_hash": "8105ef3df07afd3c61abbda7767913a1538413773f1aea513ea00d14ef83c867"
  }
}
