{"version":"2.1.287","anchor":"chrome-artifact-preview-rework","canonical_anchor":"chrome-artifact-preview-rework","heading":"Artifact previews in Chrome open and close more cleanly","tier":"notice","area":"Artifacts","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287\/e\/chrome-artifact-preview-rework","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.287","markdown":"### Artifact previews in Chrome open and close more cleanly\n\nOpening a preview in Chrome now closes leftover tabs first, treats a closed tab as an error, and cleans up after itself when it stops\n\n**Unclear.** It is not clear where this preview is used or whether it is switched on for everyone.\n\n**What**\n\nClaude Code can show a preview of something it built (an artifact) in a Chrome browser. The code that opens that browser has been reworked:\n\n- Pages already open in the preview browser are closed before the preview starts.\n\n- Closing the preview tab is now treated as an error rather than ignored.\n\n- If the preview is cancelled before the browser has started, it stops with the message \"the preview gave up before its browser started\".\n\n- When the preview ends, it removes the listener that watched for cancellation.\n\nBefore, the opener started the browser directly and only watched for the browser process to exit.\n\n**Why**\n\nThe preview's start and shutdown should be more predictable, with clearer errors when the tab or browser goes away.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}