mirror of
https://github.com/actionbook/actionbook.git
synced 2026-09-19 03:28:06 +08:00
88b1ef90ec
Replace the 6-param pattern (cdp, target_id, selector, registry, session_id, tab_id) with a TabContext struct created once per command. Before: element::resolve_node(&cdp, &target_id, &sel, registry, &s, &t) After: ctx.resolve_node(&sel) TabContext bundles (cdp, target_id, registry, session, tab) and exposes resolve_node, resolve_center, resolve_object, scroll_into_view, and resolve_object_id. Public fields cdp/target_id for direct CDP calls. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>