FlowLatch
Product

UI automation for the sites and apps you build yourself

01

UI automation means a program drives an interface so a flow runs without a person clicking. FlowLatch is the agent beside that program, not the driver. It reads and edits your test files, runs your test command through Shell on Windows, and shows the exit code and the output on a card in the chat.

01

Runs your tests

Shell runs your test command, and the card shows the real exit code and the full output.

02

Edits test files

edit_file and write_file change test files in your working folder, and in Ask first a diff waits for your OK.

03

Finds the cause

grep, glob and read_file locate selectors and waits, and ocr reads the text in a saved failure screenshot.

What the agent can do for your tests

How it helps with automated ui testing

Flows live as plain files in your repository. The agent reads them, runs your test command, explains a failure from the real output and proposes the smallest edit as a diff for you to review. It keeps a short list of the flows that are covered, so you can see at a glance which ones still need a test.

Four jobs the agent does in a test project

Write the first flow

Best practices for e2e tests start with a short list of flows that must never break, so ask FlowLatch to write only those. list_dir and glob show how your existing tests are named, read_file opens one as a pattern, and write_file creates the new file for the sign-in flow with a test account and fake data. Shell then runs your test command, and the card shows the real exit code. A first draft is rarely final, so ask for one change at a time, such as a clearer name or an added check on the page text. Before you accept, read the new file in the diff, run it yourself once and keep it only if it matches the flow you meant.

Run the suite and read the failure

Shell runs your test command and the card keeps the full output, so a red result is never a guess. grep searches that output for the failing step, and if your framework saved a screenshot, ocr reads the message in it. To reduce flakiness in end to end tests, ask FlowLatch to run the failing test again with the same command and compare the exit codes. A pass followed by a fail points at a fixed wait, shared test data or the order of the tests. Ask for a short explanation in the chat, then review it against the output before you change any file.

Repair a selector after a layout change

Whether e2e testing is worth the time for frontend work depends on the flow, so cover sign-in and checkout first. When the page layout changes, grep finds every selector that was tied to it, read_file shows the surrounding steps and edit_file proposes stable labels or test ids instead. In Ask first, FlowLatch pauses before each edit and shows a diff, one file at a time. Accept the lines that look right, reject the rest, then let Shell run the suite again to see the new exit code. Keep the diff small so a reviewer can read it in a minute.

Move a suite to another framework

When migrating e2e tests between frameworks, keep both suites in the repository until the new one passes. FlowLatch lists the old tests with glob, reads each with read_file and writes the matching new file with write_file, one flow at a time. web_search and http_get can read the new framework's own documentation for syntax you do not remember. Run both suites with Shell, compare the exit codes, and approve each file in Ask first before the old one is removed. Plans survive restarts, so a long migration can continue the next day.

What FlowLatch does not do

FlowLatch is not a hosted service or a browser plugin. It is meant only for your own files, your PC and servers you are authorised to use, and you keep the work within them, because Shell, web and SSH are not limited to the working folder. It does not promise that a test or an edit is correct, so you read every diff and run the tests yourself. A passing suite lowers the risk of breaking a flow, and the suite still needs regular maintenance.

FlowLatch for Windows

Try it on a flow you own

Download FlowLatch ↗