An intelligent system that automatically creates demo videos by executing web user flows with screen recording and synthetic narration capabilities.
- AI Test Generation: Uses OpenAI GPT-4o to generate detailed test steps from natural language descriptions
- Automated Browser Control: Playwright-powered browser automation for reliable test execution
- Screen Recording: Captures high-quality video recordings of test workflows
- AI Narration: Generates professional voiceover scripts and speech using OpenAI's text-to-speech
- Video Composition: Creates polished demo videos with avatar overlays and synchronized audio
- Real-time Progress: WebSocket-powered real-time updates during recording sessions
- Frontend: React with Vite, TypeScript, TailwindCSS
- Backend: Express.js with TypeScript
- AI Integration: OpenAI GPT-4o for test generation and narration, OpenAI TTS for voiceover
- Browser Automation: Playwright for reliable cross-browser testing
- Video Processing: FFmpeg for video composition and editing
- Real-time Communication: WebSocket for live progress updates
-
Install Dependencies
npm install
-
Set Environment Variables
OPENAI_API_KEY=your_openai_api_key
-
Start Development Server
npm run dev
-
Access the Application Open http://localhost:5000 in your browser
- Enter Website URL: Provide the target website for testing
- Describe Test Scenario: Use natural language to describe what you want to test
- Generate Recording: The system will:
- Generate detailed test steps using AI
- Execute browser automation with screen recording
- Create professional narration script
- Generate voiceover using OpenAI's text-to-speech
- Compose final video with audio and visual elements
- "Test the user registration flow by creating a new account and verifying email confirmation"
- "Navigate to the marketplace, browse profiles, and complete a booking process"
- "Test the checkout flow with form validation and payment processing"
- Input Processing: AI-powered interpretation of test requirements
- Browser Automation: Playwright-driven test execution with screen capture
- Narration Generation: OpenAI-generated scripts and synthetic voice
- Video Composition: FFmpeg-powered video editing with avatar overlays
- Real-time Updates: WebSocket communication for progress tracking
POST /api/recordings/generate-steps
- Generate test steps from descriptionPOST /api/recordings
- Create new recording sessionPOST /api/recordings/:id/start
- Start recording executionGET /api/recordings/:id/download
- Download completed video
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
MIT License - see LICENSE file for details