@playwright-ai-bot/react-panel
v0.2.0
Published
React dev panel for playwright-bot
Maintainers
Readme
@playwright-ai-bot/react-panel
React dev panel for playwright-bot. Provides real-time visualization of AI-powered exploration with test preview and editing.
Installation
npm install @playwright-ai-bot/react-panelreact and react-dom are peer dependencies (>=18.0.0).
Usage
import { PlaywrightBotDevtools } from '@playwright-ai-bot/react-panel';
function App() {
return (
<>
<MyApp />
{process.env.NODE_ENV === 'development' && (
<PlaywrightBotDevtools serverUrl="ws://localhost:3100" />
)}
</>
);
}Start the WebSocket server:
npx playwright-bot serve --port 3100Features
- Real-time exploration progress visualization
- Site map graph view
- Screenshot previews of analyzed pages
- Test code preview with syntax highlighting
- Start, pause, resume, and stop controls
Related Packages
| Package | Description |
|---------|-------------|
| playwright-bot | CLI interface |
| @playwright-ai-bot/core | Engine library |
License
MIT
