One engine. Every test surface.
SHAFT is a Maven-published Java automation framework that combines browser, mobile, API, terminal, database, validation, evidence, and reporting workflows behind one fluent API.
WebSelenium sessions, resilient actions, assertions, screenshots, and reports.MobileAppium native, mobile web, Android, iOS, and Flutter workflows.APIREST Assured requests, authentication, extraction, schema checks, and assertions.AgenticMCP, Capture, Doctor, Heal, and optional provider integrations.
Start in 90 seconds
mvn archetype:generate \
"-DarchetypeGroupId=io.github.shafthq" \
"-DarchetypeArtifactId=testng-archetype" \
"-DarchetypeVersion=10.1.20260331" \
"-DinteractiveMode=false" \
"-DgroupId=com.example" \
"-DartifactId=shaft-demo"
cd shaft-demo
mvn test
- SHAFT Engine:
10.2.20260612 - Java:
25 - Maven:
3.9+
Why teams use SHAFT
- One lifecycle and reporting model across test surfaces.
- Built-in synchronization, screenshots, logging, and Allure evidence.
- TestNG, JUnit 5, and Cucumber integration.
- Optional modules are explicit; projects pay only for the capabilities they use.
- Deterministic Capture, Doctor, and Heal workflows operate without a model provider.
SHAFT is listed in the Selenium ecosystem and received a Google Open Source Peer Bonus.
Choose your path
| Goal | Go directly to |
|---|---|
| Create or install a project | Installation |
| Run the first test | Quick start |
| Connect an AI coding agent | SHAFT MCP |
| Diagnose a failed run | SHAFT Doctor |
| Recover a changed locator | SHAFT Heal |
| Upgrade a legacy project | Upgrade guide |