What Is SHAFT?
SHAFT (Selenium Hybrid Automation Framework for Testing) is a free, open-source, MIT-licensed test automation engine for Java.
It provides a single unified API for automating:
| Platform | Technology | Use Case |
|---|---|---|
| Web | Selenium WebDriver | Browser testing across Chrome, Firefox, Edge, Safari |
| Mobile | Appium | Native, Hybrid, and Flutter apps on Android & iOS |
| API | REST Assured | RESTful service testing with full request/response control |
| CLI | ProcessBuilder | Terminal command automation |
| Database | JDBC | SQL query execution and validation |
Why Teams Choose SHAFT
- Zero boilerplate — Smart defaults eliminate setup code. No explicit waits, no driver management.
- Fluent API — Chain actions naturally:
driver.browser().navigateToURL(...).and().element().click(...). - One dependency — Replace Selenium + Appium + REST Assured + Allure + WebDriverManager with a single Maven dependency.
- 100% configurable — Every behavior is controllable via properties. No magic.
- Battle-tested — Used by 40,000+ engineers at organizations including Vodafone, DXC Technology, and Euronet Worldwide.
Industry Recognition
SHAFT is a proud member of the Selenium Ecosystem and a recipient of the Google Open Source Peer Bonus award.
Sponsored by BrowserStack, Applitools, JetBrains, and LambdaTest.
Quick Start
Already familiar with SHAFT? Jump directly to what you need:
- Create a new project → — Use the interactive project generator
- Web testing guide → — Set up browser automation with TestNG, JUnit 5, or Cucumber
- Mobile testing guide → — Automate Android & iOS apps
- API testing guide → — Test REST APIs
- All integrations → — BrowserStack, Jira, Slack, and more
- Get support → — Community channels and help resources