Files
chrome-use/docs
Chris Tate f319195974 add --selector flag to scroll command (#537)
* add --selector flag to scroll command

The `scroll` command uses `window.scrollBy()`, which has no effect on apps
that use custom scrollable containers (e.g. a nested div with overflow-y: auto).

The backend `handleScroll` already supports a `selector` parameter, but the CLI
never exposed it. This adds `-s` / `--selector` to the `scroll` command so users
can target a specific scrollable element:

    agent-browser scroll down 500 --selector "div.scroll-container"

Also fixes the backend to apply `direction`/`amount` when a selector is present
(previously those fields were only used in the no-selector branch).

Closes #501

* fixes
2026-02-24 07:40:46 -06:00
..
2026-02-22 16:09:37 -06:00
2026-01-13 02:54:56 -06:00
2026-02-11 14:17:53 -06:00
2026-01-13 02:54:56 -06:00
2026-02-09 12:10:40 -06:00
2026-02-22 16:09:37 -06:00
2026-02-22 16:09:37 -06:00
2026-01-13 02:54:56 -06:00
2026-01-13 02:54:56 -06:00