//! Browser view — watch, and take over, the browser Claude is driving. //! //! ## What is actually being watched //! //! Playwright ships a live dashboard. A script inside the container calls //! `await browser.bind('claude')`, which publishes a descriptor for the running //! browser into `~/.cache/ms-playwright/b/`; `@playwright/mcp` does this for you. //! `playwright-cli show --host 127.0.0.1 --port
` then serves a React viewer //! that watches that directory, connects to the published browser, and gives you //! a CDP screencast with full mouse and keyboard takeover — all of which works //! with `headless: true`, which is the only thing that could work in a container. //! //! Discovery is *local filesystem*, so the viewer has to run in the same //! container as the browsers. There is nothing a host-side viewer could see. //! //! ## Getting it onto the screen safely //! //! ```text //! webview