Skip to main content

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.

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

GoalGo directly to
Create or install a projectInstallation
Run the first testQuick start
Connect an AI coding agentSHAFT MCP
Diagnose a failed runSHAFT Doctor
Recover a changed locatorSHAFT Heal
Upgrade a legacy projectUpgrade guide