BrowserPilot transforms web workflows into structured tests using AI. By turning plain-English descriptions into validated tests executed in Chromium, it provides developers with detailed execution evidence including screenshots and videos, making it easier to inspect and debug web applications.
BrowserPilot is an innovative AI-assisted browser testing tool designed to transform web workflows into structured tests that are easy to execute and review. Developed by BC Labs, this project leverages natural language processing to enable developers and teams to describe their testing intentions in plain English, which are then converted into validated tests executed within a real Chromium browser using Playwright.
Key Features
- Plain-English Workflow Descriptions: Users can start by expressing their workflows in everyday language, eliminating complex coding requirements.
- Comprehensive Evidence Capture: After executing tests, BrowserPilot provides detailed evidence including screenshots, videos, step outcomes, and execution timings.
- Structured Test Creation: Before running tests, proposed actions are validated, ensuring reliability and clarity in the testing process.
- Reusability of Tests: Successful workflows can be saved as versioned tests, promoting efficiency in testing sessions.
Project Status
Currently in active development, BrowserPilot has successfully implemented core features such as:
- A Next.js dashboard and Django REST API for project management and interactions.
- User authentication, workspace management, and a versioned test library.
- Integration with Playwright for automated browser interactions and recording functionalities.
How BrowserPilot Operates
- Project Environment Setup: Users configure the target URL and allowed hostnames for their testing environments.
- Page Observation: A Chromium session is initiated, allowing BrowserPilot to summarize visible controls on the page.
- Workflow Definition: Users describe the desired testing task in plain language.
- Planning and Validation: The system generates and validates a structured action plan to ensure compliance with established test specifications.
- Test Execution: Approved actions are executed in a fresh browser session for accurate results.
- Review and Reuse: Users can inspect detailed evidence and save successful workflows for future testing.
Architecture Overview
BrowserPilot employs a robust architecture comprising:
- Frontend: Developed using Next.js and TypeScript, ensuring a responsive and dynamic user experience.
- Backend: Based on Django and the Django REST Framework for reliable API performance.
- Automation Framework: Utilizes Python and Playwright for seamless browser automation.
- Security Features: Implements strict workspace membership, encrypted credential storage, and careful validation of navigation and subresource requests to enhance security.
Roadmap and Future Development
The team is focused on enhancing usability, security, and overall performance. Future features may include:
- Multi-worker support and automatic retry mechanisms for improved reliability.
- Comprehensive testing against a staging application.
- More polished documentation and demo workflows.
Contributions and Community Engagement
BrowserPilot welcomes contributions from the community. Opportunities for involvement include improving setup instructions, enhancing dashboard usability, and adding test cases. For those interested in shaping the future of BrowserPilot, exploration of open issues and feedback are encouraged.
For a detailed overview of BrowserPilot, its capabilities, and to stay updated, please refer to the documentation and GitHub repository.
Comments
0Start the conversation
Share the first comment.