-
navigateapp.example.com/login -
fillEmail · alice@example.com -
fillPassword · HAWZU_PASSWORD -
clickSign in -
assertWelcome back, Alice · is visible
Do the test once. Get steps and scripts.
Hawzu Recorder is a Chrome extension that keeps your run-through as manual steps plus Playwright and pytest + Selenium scripts your CI runs.
What you did, three ways
A sign-in recorded once. The same recording always gives the same files.
- Open https://app.example.com/login
- Enter "alice@example.com" in the "Email" field
- Enter the value of HAWZU_PASSWORD in the "Password" field
- Click the "Sign in" button
- The "Welcome back, Alice" heading is visible
test("HAW-101 Recorded flow", async ({ page }) => { // 3. Enter the value of HAWZU_PASSWORD in the "Password" field await page.getByLabel("Password", { exact: true }).fill(secret("HAWZU_PASSWORD")); // 4. Click the "Sign in" button await page.getByRole("button", { name: "Sign in", exact: true }).click(); // 5. The "Welcome back, Alice" heading is visible await expect(page.getByRole("heading", { name: "Welcome back, Alice", exact: true })).toBeVisible(); def test_haw_101_recorded_flow(driver, record_property): record_property("testcase_code", "HAW-101") # 3. Enter the value of HAWZU_PASSWORD in the "Password" field el = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR, "#password"))) el.clear() el.send_keys(os.environ["HAWZU_PASSWORD"]) # 4. Click the "Sign in" button el = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR, "form > button[type=submit]"))) el.click() carries the test case code reads a secret from the environment
Do the test the way you always do
The controls sit in Chrome's side panel, beside the page you're testing.
Pick a check, then click the element to check.
- Going to an address, reloading, back and forward
- Clicks — right, middle and double too
- Typing, saved once with the final value
- Select lists, checkboxes
- Enter, Escape, arrows, function keys and shortcuts
- File uploads, by file name
- Hover, when you ask for it
The password stays on the page
Password fields it recognises, and any field you mark Secret, are saved only as a variable name.
Recognition is best effort, and anything else you type is saved as typed.
HAWZU_PASSWORD Enter the value of HAWZU_PASSWORD in the "Password" field
Checked while you record, open to inspect after
The Locators tab shows which one each script uses and what else was tried.
-
getByRole("button", { name: "Sign in", exact: true })unique -
form > button[type=submit]unique -
button[type=submit]not unique -
#login-submitno match
// HAWZU_TODO: locate the cross-origin frame https://consent.vendor.example/banner Where it needs you, the script leaves a note you can search for.
A page changed? Fix the locator once.
Every test case that uses the element gets the fix next time you open its script in Hawzu.
OBJ-12 Sign in button Checked - Pick again in the browser Checked
- Use a recorded step's locator Checked
- Edit by hand Hand-edited
Saving makes OBJ-12 v4, marked Checked
page.getByRole("button", { name: "Sign in", exact: true }) After saving page.getByTestId("sign-in") This changes the scripts of 4 test cases (4 recordings, 5 steps).
- Suggested, then confirmed When a new step looks like a known element, Hawzu suggests it. A person confirms.
- A preview before every change
- Versions you can go back to
- Fragile locators flagged Locators that rely on position or changing text are flagged before they break.
- Linked to CI failures An imported CI failure that names a script's locator is linked to that object.
Your CI runs it. The result comes home.
Hawzu doesn't run your scripts. Import the report and each result lands on the right test case.
- Record Do the test once in Chrome.
- Commit Copy or download the script into your repository.
- Your CI runs it With Playwright or pytest, like any other test.
- Import the report The JUnit report comes back into Hawzu.
- HAW-101 Each result lands on the test case whose code it carries.
Or skip writing the steps
One button writes the recording into the test case as manual steps, with a preview first.
- Multiple One step per action, with its expected results
- Single A single step listing every action
What it does not do
Record a Test is in beta. Here's where it stops for now.
-
Desktop Chrome only
You need desktop Chrome 120 or later. Other browsers and mobile aren't supported.
-
Not recorded
Scrolling, dragging and touch. New tabs and popups aren't followed, and the step that opens one is flagged.
-
Frames and shadow roots
A cross-origin iframe leaves a HAWZU_TODO for you. In a closed shadow root, the locator targets its host.
-
File names, not files
Uploads record file names only. You put the files next to the test.
-
Exact checks, trim-only steps
Checks compare the whole text or URL exactly. You can remove recorded steps but not reword them.
-
Two frameworks, fixed sizes
Playwright and pytest + Selenium only, and not for Gherkin. Up to 20 recordings per test case, 500 steps each.
The ones worth asking first
Does Hawzu run the recorded tests?
No. The scripts are ordinary files you keep in your repository, and your own CI runs them with Playwright or pytest. When you import the run's report, the test case code each script carries puts every result on the right test case.
Is Record a Test codeless automation?
No. What you get is code — TypeScript and Python you can read, change, review and commit. Recording writes the first version, so nobody starts an automated test from a blank file.
Does the recorder save my passwords?
Fields it recognises as a password, one-time code or card details, and any field you mark Secret, are saved only as a variable name like HAWZU_PASSWORD. Recognition is best effort. Anything else you type is saved as typed, so mark sensitive fields Secret before typing.
How reliable are the recorded locators?
They're checked against the live page while you record, and the alternatives are kept. The Locators tab shows which one each script uses and what else was tried. A page that changes later can still break a script. Then you fix that element's locator once in the Object Repository.
What happens to the scripts if I rename the test case?
Inside Hawzu they follow it. Scripts are rebuilt from the recording every time you open them, with the test case's current code and title, and the current locator of each Object Repository object the recording uses. A file you already downloaded does not change.
What happens when a page changes and a locator breaks?
Fix the element once in the Object Repository and check the preview before saving. Every test case using it gets the new locator when its script is opened in Hawzu. Files already in your repository keep the old one until you download them again.
Which browsers and frameworks does it support?
You record in desktop Chrome 120 or later. The scripts are Playwright (TypeScript) and pytest + Selenium (Python); the Python file uses the driver fixture your own setup provides.
Who can record a test?
Anyone who can edit or create test cases can record. Anyone who can view them can read recordings and scripts. Gherkin test cases aren't supported. On Free, a workspace saves up to 30 recordings a month, deleted ones included. Growth has no monthly limit.
The rest of it
Record your first test
Every feature on every plan. Free for five people, then $20 per member. No credit card.