screenshots

command
v0.111.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 9 Imported by: 0

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
    }
  ]
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL