#6417·webstudio

Screenshot target schema and browser launch prevent responsive verification

Author: webstudio-issue-reporter[bot]Created Sep 19, 2026Updated Sep 19, 2026

User story

An agent refining an existing page needs responsive visual verification.

Summary

The screenshot schema omits its required target; the CLI fallback then fails to launch the installed browser.

What the agent tried

  1. Invoke screenshot with viewport and fullPage after starting session preview.

Expected behavior

Capture the preview at the requested viewport.

Actual result

The schema-valid MCP call requires url or path. The CLI fallback returns SCREENSHOT_CAPTURE_FAILED with SIGABRT before the debugging endpoint is ready.

Recovery attempts

  1. Used the official CLI with an explicit target.
  2. Verified the preview renders through the in-app browser.

User impact

Desktop review works, but responsive capture cannot be completed.

Technical context

CLI 0.299.0; screenshot schema lacks target fields; installed Chromium-family browser fails at startup.

Agent environment

  • Client: Codex
  • Provider: unknown
  • Model: unknown
  • Reasoning effort: unknown
  • Trigger: automatic-friction
  • Category: schema-or-docs-mismatch

Technical runtime

  • CLI: 0.299.0
  • Node.js: 24.18.1
  • Operating system: darwin 25 (arm64)
  • Execution mode: mcp
  • API contract: public-api:1shmyoc
  • Bundle contract: bundle-1x6rafk
  • Session namespace issues: stale=none; missing=pages,props,dataSources,resources,assets,assetFolders,projectSettings,marketplaceProduct; invalidated=none
  • Preview: stale=true; rendered=false; version matches session=unknown

Acceptance criteria

  1. Expose target fields or infer the active preview.
  2. Provide a working browser capture fallback or actionable environment preflight.