PandaOSPandaOSby Pandata

Browser Preview

The Browser Preview panel lets you see your running web application directly inside PandaOS, without switching to a separate browser.

Opening the Browser Preview

  • Press Cmd+B / Ctrl+B
  • Click the Browser icon in the session header

Requirements

To use the browser preview, your project needs:

  1. A dev server configured, set during project setup (the dev command and port)
  2. The dev server running, start it from the project card on the Dashboard

If no dev server is configured, the browser panel shows instructions to set one up.

Starting the Dev Server

You can start the dev server from multiple places:

  • Dashboard, click the play button on your project card
  • Session header, the dev server indicator shows the port and status
  • Terminal, run your dev command manually (e.g., npm run dev)

The dev server status indicator shows:

  • Gray, not running
  • Amber (pulsing), starting up
  • Green, running and healthy
  • Red, error

Browser Panel Features

Once the dev server is running, the browser preview shows:

  • Embedded webview, your app rendered in a webview inside PandaOS
  • URL bar, shows the current URL (e.g., http://localhost:3000)
  • Refresh, reload the page
  • Screenshot, capture a screenshot of the preview and attach it to your chat (useful for asking PandaOS about visual issues)

Per-Project Persistence

Each project has its own browser session with isolated cookies and storage. This means:

  • Login sessions are preserved per project
  • Local storage is separate between projects
  • Cookies don't leak between different projects

Browser MCP

When the browser preview is open, PandaOS automatically starts a Browser MCP server that gives PandaOS the ability to interact with your app:

  • Navigate to URLs
  • Click elements
  • Type text
  • Take screenshots
  • Read console logs
  • Scroll the page
  • Evaluate JavaScript

This means PandaOS can see and interact with your running app when debugging UI issues or testing features. The MCP server tools are automatically registered and available to PandaOS.

The Browser MCP server stops automatically when you close the browser preview.

Dev Server Controls on Dashboard

The Dashboard project cards show dev server status and controls:

ButtonAction
PlayStart the dev server
StopStop the dev server
RestartStop and restart
Kill + StartKill the port (if stuck) and restart
OpenOpen in the browser preview