What problem does it solve?
Testing web-only bugs and browser-specific behavior in Positron requires a licensed Positron Web server and a reliable way to drive it, which is tedious to set up manually and easy to get wrong with readiness checks and license requirements.
Core Features & Use Cases
- Server Startup with Readiness Guarantee: The start-web.sh script launches Positron Web, waits for an actual HTTP response rather than just a bound port, and reports connection details (URL, port, token, PID, log file) as JSON.
- License Handling: Automatically detects a local license issuer or accepts explicit license keys via flags or environment variables, failing fast when no license is available.
- Browser Automation: Drive the web workbench through a browser pane with accessibility-tree inspection or via the @playwright/cli terminal interface for clicks, screenshots, console logs, and network diagnostics.
- Use Case: When investigating a bug that only reproduces in the browser build, start the server with the script, attach a browser session, and inspect the accessibility tree or run JavaScript assertions against the live page.
Quick Start
Start Positron Web with the start-web.sh script pointing at a workspace, then attach a browser automation session to the reported URL to inspect and interact with the page.