Spaces:
Running
Running
Download src/browser_automation_agent/workflows/library/capture-report.json from sitcod3/dracull-agent: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/spaces/sitcod3/dracull-agent/resolve/main/src/browser_automation_agent/workflows/library/capture-report.json
- Command line
-
hf download hf://spaces/sitcod3/dracull-agent/src/browser_automation_agent/workflows/library/capture-report.json
-
curl -L -o capture-report.json https://huggingface.co/spaces/sitcod3/dracull-agent/resolve/main/src/browser_automation_agent/workflows/library/capture-report.json
1.34 kB
| { | |
| "name": "capture-report", | |
| "description": "Full page capture: open {{url}}, wait for it to settle, extract the page text (4000 char cap), screenshot it, and close the tab. The run report (JSON) plus the screenshot are the artifacts — point an LLM at them for summarization.", | |
| "engine": "chromium", | |
| "variables": { "url": "public https URL to capture" }, | |
| "steps": [ | |
| { | |
| "name": "open the capture tab", | |
| "tool": "tab_open", | |
| "save": { "capture_tab": "tab_id" } | |
| }, | |
| { | |
| "name": "load the page", | |
| "tool": "navigate", | |
| "args": { "url": "{{url}}" }, | |
| "expect": { "data.url": "{{url}}" }, | |
| "save": { "final_url": "data.url", "page_title": "data.title" } | |
| }, | |
| { | |
| "name": "wait for the document body", | |
| "tool": "wait_for", | |
| "args": { "condition": "selector", "selector": "body", "timeout_ms": 8000 } | |
| }, | |
| { | |
| "name": "extract the page text", | |
| "tool": "extract_text", | |
| "args": { "max_chars": 4000 }, | |
| "save": { "page_text": "data.text" } | |
| }, | |
| { | |
| "name": "screenshot the page", | |
| "tool": "screenshot", | |
| "save": { "screenshot": "data.path" } | |
| }, | |
| { | |
| "name": "close the capture tab", | |
| "tool": "tab_close", | |
| "args": { "tab_id": "{{capture_tab}}" } | |
| } | |
| ] | |
| } | |