Skip to main content

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:

PlatformTechnologyUse Case
WebSelenium WebDriverBrowser testing across Chrome, Firefox, Edge, Safari
MobileAppiumNative, Hybrid, and Flutter apps on Android & iOS
APIREST AssuredRESTful service testing with full request/response control
CLIProcessBuilderTerminal command automation
DatabaseJDBCSQL 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: