camofox_scroll_element_and_snapshot
Scroll a container element and capture a snapshot in one call. Load lazy content in modals, return scroll position and page snapshot.
Instructions
Scroll a container element AND take a snapshot. Combines scroll_element + snapshot in one call. Perfect for incrementally loading lazy content in modals (e.g. Facebook group post comments). Returns both scroll position and page snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID | |
| selector | No | CSS selector for scrollable container | |
| ref | No | Element ref from snapshot | |
| deltaY | No | Scroll delta | |
| waitMs | No | Wait before snapshot (ms) |