|
Download docs/reference/snapshot.md from AUXteam/pinch: direct link, hf CLI and curl.
- Browser
- Download file 642 Bytes
-
https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/snapshot.md
- Command line
-
hf download hf://spaces/AUXteam/pinch/docs/reference/snapshot.md
-
curl -L -o snapshot.md https://huggingface.co/spaces/AUXteam/pinch/resolve/main/docs/reference/snapshot.md
642 Bytes
Snapshot
Get an accessibility snapshot of the current page, including element refs that can be reused by action commands.
curl "http://localhost:9867/snapshot?filter=interactive"
# CLI Alternative
pinchtab snap -i
# Response
{
"url": "https://example.com",
"title": "Example Domain",
"nodes": [
{
"ref": "e5",
"role": "link",
"name": "More information..."
}
],
"count": 1
}
Useful flags:
- CLI:
-i,-c,-d,--selector,--max-tokens,--depth - API query:
filter,format,diff,selector,maxTokens,depth