agent-zero/plugins/_browser
TerminallyLazy 5012dd3128 feat(browser): multi-tab awareness + modifier-key click
- Auto-register tabs opened by site (window.open, target=_blank,
  ctrl-click) via context.on("page",...) with registry lock and
  closing-state guard.
- Modifier-key click via Playwright trusted input: keyboard.down/up
  around mouse.click for coord-based path; locator.click(modifiers=...)
  selector fallback for off-screen / hidden elements. Chrome focus
  rule: ctrl/meta-click keeps focus on origin tab; override via
  focus_popup arg.
- key_chord action: presses keys in order, releases in reverse;
  guarantees release on exception. Supports Ctrl+A/C/V style chords.
- mouse modifiers click-only (raises ValueError for non-click events).
- list(include_content=true) bulk read across all tabs in parallel
  via asyncio.gather (was sequential).
- multi action: batched sub-calls. Different browser_id groups run
  concurrently; same browser_id sequentially. Returns array of
  {ok, result|error} matching input order. Lets the agent fan out
  reads or coordinated mutations across tabs in one tool call.
- Cross-tab work no longer steals viewer focus.
  last_interacted_browser_id promotes only on open / set_active /
  same-tab work / Chrome popup rule. WebUI auto-open allowlist
  tightened to open|navigate|set_active so background actions don't
  drag the viewer.
- New set_active action for explicit focus switch.
- JS helper bumps VERSION to force re-injection on cached pages;
  exports boundingBoxFor returning {x,y,w,h,selector} for the
  trusted-input modifier-click paths.

Backwards-compatible: every new arg is optional with safe defaults.
No removed actions; existing call shapes preserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 06:37:21 -04:00
..
api Improve browser session context lifecycle 2026-04-28 14:40:48 +02:00
assets feat(browser): multi-tab awareness + modifier-key click 2026-04-29 06:37:21 -04:00
extensions feat(browser): multi-tab awareness + modifier-key click 2026-04-29 06:37:21 -04:00
helpers feat(browser): multi-tab awareness + modifier-key click 2026-04-29 06:37:21 -04:00
prompts feat(browser): multi-tab awareness + modifier-key click 2026-04-29 06:37:21 -04:00
tools feat(browser): multi-tab awareness + modifier-key click 2026-04-29 06:37:21 -04:00
webui Add plugin thumbnails 2026-04-28 15:04:19 +02:00
default_config.yaml Polish Browser settings and viewport handling 2026-04-26 21:47:50 +02:00
hooks.py browser: replace browser-use agent with native browser 2026-04-24 15:43:52 +02:00
plugin.yaml browser: replace browser-use agent with native browser 2026-04-24 15:43:52 +02:00