state
Returns the current element tree of a web page in a structured format, listing each element's index, change state, tag, text, and bounding box. Use it to inspect page structure before selecting elements for interaction or scraping.
Instructions
state() → [{index, changed, tag, text, box}] — 索引元素树
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sel | No | ||
| tab | No | ||
| max_items | No |