Documentation
¶
Overview ¶
Command screenshots drives a headless Chrome via chromedp to capture PNG screenshots of the soundtouch-service web UI for documentation.
It is deliberately decoupled from any speaker/service setup: callers are responsible for having the service reachable at --base and any required devices already registered. See cmd/dummy-speaker for a matching no-hardware backend.
Manifest format (JSON):
{
"shots": [
{
"name": "ui-settings",
"path": "/web/",
"click_selector": "button[onclick*=\"tab-settings\"]",
"wait_selector": "#tab-settings.active",
"viewport": {"width": 1280, "height": 900},
"settle_ms": 250
}
]
}
Click to show internal directories.
Click to hide internal directories.