Automation Engine

Generate visuals
from code.

Replace manual screenshot workflows with a deterministic, version-controlled pipeline. Define your visuals in JSON, run a single CLI command, and watch your docs update automatically.

No credit card required14-day free trial
automation pipeline
CONFIGCLI ENGINEplaywright::captureffmpeg::optimizeupload::cdnPLATFORM$npx poliage run --ci→ Reading docsync.config.json...→ Launching headless browser...→ Capturing 12 visuals across 4 viewports...✓ login-modal.png✓ dashboard.png○ settings.png (diff)

How it works

Transform your documentation workflow with a simple CLI that captures, versions, and syncs your visual assets automatically.

1

Define your visuals

Create a docsync.config.json file that specifies exactly what to capture—URLs, selectors, viewports, and personas.

2

Run the CLI

Execute npx poliage run locally or in CI. The headless browser captures all visuals deterministically.

3

Docs update instantly

Approved visuals upload to the CDN. Your documentation references permanent URLs that always serve the latest approved version.

Configuration as code

Your visual definitions live in JSON alongside your source code. Review changes in pull requests, roll back with git, and maintain a complete version history of every documentation asset.

JSON config lives with your code
Selector-based targeting
Multi-viewport capture
CI/CD pipeline integration
docsync.config.json
Configuration
{
  "project": "acme-dashboard",
  "baseUrl": "http://localhost:3000",
  "output": "./docs/images",
  "visuals": [
    {
      "key": "login-modal",
      "path": "/auth/login",
      "selector": "[data-testid='login-modal']",
      "viewport": { "width": 1280, "height": 800 }
    },
    {
      "key": "dashboard-overview",
      "path": "/dashboard",
      "actions": ["waitForSelector('.chart-loaded')"],
      "personas": ["admin", "user"]
    },
    {
      "key": "settings-panel",
      "path": "/settings",
      "selector": "[data-testid='settings']",
      "locales": ["en", "ko", "ja"]
    }
  ],
  "ci": {
    "parallel": 4,
    "retries": 2,
    "uploadOnSuccess": true
  }
}

Built for production workflows

Every feature designed to eliminate manual work and ensure consistency across your entire documentation surface.

Headless Browser Capture

Powered by Playwright for consistent captures.

Chromium-based rendering
Custom wait conditions
Configurable viewports

CI/CD Integration

Run captures in your existing pipeline.

GitHub Actions support
Docker-based execution
Automated triggers

Version Control

Track every visual change in Git.

JSON configs in your repo
Diff detection
Rollback capability

Ready to automate your visuals?

Stop manually capturing and updating screenshots. Start generating deterministic visuals from code with a single CLI command.

No credit card required • 14-day free trial • Cancel anytime

Poliage Platform