vtable_scroll_to
Scroll a VTable to a specified cell, column, row, or offset, then verify the target is in view. Returns updated scroll positions and cell visibility for reliable interaction.
Instructions
滚动 VTable 到目标位置(等价于拖动横/纵向滚动条滑块,直接调用实例 API scrollToCol/scrollToRow/scrollToCell/setScrollLeft/setScrollTop,比真实鼠标拖拽滚动条更稳定)。四种用法按优先级:1) col_field+row_index 滚动到指定单元格;2) 仅 col_field 横向滚动到该列;3) 仅 row_index 纵向滚动到该行;4) scroll_left/scroll_top 直接设置滚动偏移。col_field 支持列索引(int)或字段名/列标题(str)。verify=True(默认) 滚动后自动校验目标是否已进入可视区,返回最新 scrollLeft/scrollTop 及单元格可见性。滚动到目标后应配合 vtable_get_cell_center 获取最新坐标再点击。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verify | No | ||
| col_field | No | ||
| row_index | No | ||
| scroll_top | No | ||
| scroll_left | No | ||
| iframe_selector | No | div[aria-hidden=false] iframe |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||