Beta TestWithWords is in public beta โ€” things may change. Share feedback →
โœจ AI-powered UI testing โ€” no selectors, no scripts

Write tests in words.
The AI runs them in the browser.

Describe what to test in plain English. TestWithWords drives a real browser with AI โ€” clicking, typing, verifying โ€” and gives you screenshot evidence.

$ npm i -g testwithwords

See It In Action

Write a .tww file on the left. Get test results on the right.

cart.test.tww
# cart.test.tww

describe "Shopping Cart"

  test "can add item to cart"
    Navigate to the shop homepage
    Search for "mechanical keyboard"
    Click on the first product
    Click "Add to Cart"
    Verify the cart shows 1 item
โ†“
Terminal
$ tww run cart.test.tww

  ๐Ÿงช TestWithWords v0.1.0
  Chromium (standalone) ยท gpt-4o-mini

 PASS  cart.test.tww
  Shopping Cart
    โœ“ can add item to cart (8.4s)

 Tests:  1 passed, 0 failed
 Time:   8.4s
 ๐Ÿ“„ Report: results/report.html

Why TestWithWords?

Stop fighting with selectors and scripts. Start testing in plain English.

Natural Language Tests

Write tests the way you'd explain them to a teammate. No code, no selectors, no XPath. If you can describe it, you can test it.

AI-Powered Automation

An AI agent reads the page, decides what to click, type, or verify โ€” and adapts when the UI changes. No brittle scripts that break on every redesign.

Visual Evidence

Every test step produces a screenshot. See exactly what happened, when it happened, and share results in a beautiful HTML report.

Free to Start

Works out of the box with GitHub Models โ€” free for open source contributors. No API keys to buy.

How It Works

Three steps. Under two minutes. You're testing.

1

Write

Describe your test in a .tww file using plain English. Structure with describe and test blocks โ€” just like Jest.

2

Run

Execute with tww run. The AI agent launches a browser, reads the page, and performs every step you described.

3

Results

Get a Jest-style pass/fail summary in the terminal, plus an HTML report with screenshots of every step.

Quick Start

Three commands and you're running AI-powered tests.

Terminal
# Install globally
$ npm i -g testwithwords

# Authenticate with GitHub Models (free!)
$ tww auth

# Run your first test
$ tww run "Go to example.com and verify the heading says Example Domain"

Documentation

Everything you need to get started and go deep.

Built by Instafluff & the Community

TestWithWords is open source and community-driven. Come hang out, contribute, or just say hi!