mirror of
https://github.com/actionbook/actionbook.git
synced 2026-09-19 03:28:06 +08:00
0fff252fcb
Refactored scroll to resolve selectors via element::resolve_node + DOM.resolveNode → objectId, then use Runtime.callFunctionOn for all scroll operations. This correctly supports CSS, XPath, and @eN selectors per the API contract, instead of raw querySelector which only handles CSS. Added DOM.getDocument init call to ensure XPath DOM.requestNode works. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>