# browser_find

Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), each shown under its path from the root of the tree, which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.

Agent View of the PolicyLayer registry record for `browser_find`. HTML page: https://policylayer.com/tools/cooledi-playwright-mcp/browser-find

## Facts

- Tool: `browser_find`
- Server: Playwright (`@cooledi/playwright-mcp`) — https://policylayer.com/tools/cooledi-playwright-mcp.md
- Install: `npx -y @cooledi/playwright-mcp`
- Homepage: https://www.npmjs.com/package/@cooledi/playwright-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "browser_find",
    "arguments": {}
  }
}
```

## Why browser_find is rated Low

browser_find performs a read-only query operation on the page's accessibility snapshot to locate elements. It retrieves information without modifying, executing, or deleting anything. The tool is explicitly designed to find and return matching elements for reference purposes, making it a pure Read operation with minimal risk.

From the tool's own definition: "Tool description states it 'Search[es] the accessibility snapshot of the current page for text or a regular expression' and 'Returns matching snapshot nodes'. The verb 'search' and 'returns' indicate data retrieval with no side effects."

Risk signals: Admin/system-level operation

## Use case

AI agents call browser_find to retrieve information from Playwright without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Playwright:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "browser_find": {}
  }
}
```

## Other tools on Playwright (82)

- `browser_console_clear` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-console-clear.md
- `browser_cookie_clear` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-cookie-clear.md
- `browser_cookie_delete` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-cookie-delete.md
- `browser_drop` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-drop.md
- `browser_hide_highlight` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-hide-highlight.md
- `browser_localstorage_clear` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-localstorage-clear.md
- `browser_localstorage_delete` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-localstorage-delete.md
- `browser_network_clear` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-network-clear.md
- `browser_sessionstorage_clear` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-sessionstorage-clear.md
- `browser_sessionstorage_delete` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-sessionstorage-delete.md
- `browser_unroute` — Destructive — https://policylayer.com/tools/cooledi-playwright-mcp/browser-unroute.md
- `browser_check` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-check.md
- `browser_click` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-click.md
- `browser_close` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-close.md
- `browser_drag` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-drag.md
- `browser_emulate_media` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-emulate-media.md
- `browser_evaluate` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-evaluate.md
- `browser_file_upload` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-file-upload.md
- `browser_fill_form` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-fill-form.md
- `browser_handle_dialog` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-handle-dialog.md
- `browser_hover` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-hover.md
- `browser_mouse_click_xy` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-mouse-click-xy.md
- `browser_mouse_drag_xy` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-mouse-drag-xy.md
- `browser_mouse_move_xy` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-mouse-move-xy.md
- `browser_navigate` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-navigate.md
- `browser_navigate_back` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-navigate-back.md
- `browser_navigate_forward` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-navigate-forward.md
- `browser_press_key` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-press-key.md
- `browser_reload` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-reload.md
- `browser_resize` — Execute — https://policylayer.com/tools/cooledi-playwright-mcp/browser-resize.md
- …and 52 more: https://policylayer.com/tools/cooledi-playwright-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=cooledi-playwright-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/cooledi-playwright-mcp
