Autonomous UI testing for real apps.Define missions, ship faster.
Testronaut runs mission-based tests in a real browser using AI. Write tests in plain English, get deterministic actions and human-friendly reports.
npm install -g testronautWhy Testronaut
Mission-based, resilient, developer-friendly.
Plain-English missions
Define flows in natural language or lightweight JS. Fewer brittle selectors, more productivity.
Deterministic tool use
Guided actions via Playwright + structured DOM context. Less flakiness, clearer failures.
Mission Control reports
Visualize pass/fail, tokens, and screenshots across suites. Upload from CI with one command.
Bring your own LLM
Use your own API key. Choose your preferred provider below β Testronaut adapts automatically.
π§ OpenAI
- β’ GPT-4o / GPT-4o-mini
- β’ GPT-4.1 / GPT-4.1-mini
- β’ o3 / o4-mini
- β’ GPT-5 family (where available)
π Google Gemini
- β’ Gemini 2.5 Pro
- β’ Gemini 2.5 Flash
- β’ Gemini 2.5 Flash-8B
From mission to execution
Write a mission, run it, review the report. Thatβs it.
- β’ Write: Define a goal like βLog in and purchase an itemβ.
- β’ Run: Testronaut controls a real browser with Playwright.
- β’ Report: Upload to Mission Control for insights.
//Write:
// missions/login.mission.js
import { runMissions } from 'testronaut';
export const loginMission =
`Visit ${YOUR_SITE_HERE}.
Fill the username field with ${USERNAME}
Fill the password field with ${PASSWORD}
Click the Login button.
Wait for the dashboard to appear.
Take a screenshot
Report SUCCESS if the dashboard is loaded,
otherwise report FAILURE.`;
export async function executeMission() {
await runMissions({
mission: loginMission
}, "Login Mission");
}
// Run:
npx testronaut login.mission.js
//Report:
npx testronaut uploadSee it in action
Review an example Mission Control report walkthrough.
FAQ
How is this different from Playwright/Cypress?
Testronaut uses LLM reasoning + structured DOM to perform steps from plain-English missions, then runs real browsers via Playwright. It aims to reduce brittle selectors and speed up authoring.
Is there a UI?
Yes β Mission Control lets you upload and visualize reports across runs, suites, and teams.
Is it open source?
The CLI is open source. Mission Control is a hosted companion for collaboration and analytics.
Where do I start?
Install the CLI with npm and join Discord for help. See the README for mission examples.