BugmoleDocs bugmole.com →

Discover and debug

Discover an app from its URL

On the dashboard's Overview, enter your app's URL (it defaults to the selected environment) and choose Explore this URL. Bugmole Cloud, or your own worker if you chose My resources, opens the app in a real browser and moves through it the way a first-time visitor does:

You watch the exploration live, with a rough estimate of when it will be done, and every page and form becomes a runnable flow:

Found Flow
A page Open the app, click through to the page, and check its heading is shown
A form Click through to the form, fill each field with safe sample data, and check the submit button is ready

Flows are saved under spec/flows/discovered/ and published as tests. Password fields are filled with {{secret.APP_PASSWORD}}; set BUGMOLE_FLOW_SECRET_APP_PASSWORD on the worker before you run those flows. Open Tests to run them on any browsers and devices; select a test and choose Show the test file to read or download exactly what it does.

Apps that start with a sign-in page

Discovery doesn't sign in on its own. When everything it can reach is a sign-in screen, it says Stopped at a sign-in page and doesn't guess at the app behind it.

To explore signed in on Bugmole Cloud, open Settings → Sign-in for runs (/manage/cloud-sign-in), save a sign-in flow and the secrets it types, and explore again: the exploration runs the flow first and explores as the signed-in user. See Sign-in for runs for where those secrets live and who can read them. From your machine or CI, pass the flow to discovery instead; see Getting started.

Multi-page journeys written by AI

Tick Also have AI write multi-page journeys to have AI turn the map into journeys a person would take, such as signing up and then buying something. It costs 100 AI credits, or nothing with your own model key.

AI only sees what discovery saw, and every journey it writes is checked against it: a journey that taps a button, opens a page or expects text that discovery never found is set aside, and the exploration log says why. When exploration stopped at a sign-in page, the AI step is skipped and costs nothing.

Flows in the journey graph

Discovered flows start as drafts. The Journey graph on Overview draws a flow as soon as a run of it passes, so what you see there has been proven in a real browser. Until then the graph says how many flows are waiting.

Cleaning up after exploration

Each exploration keeps a cleanup list: every request it sent that changes something (anything but GET, HEAD or OPTIONS), with the page and form or button that sent it, the status, and what it created when the reply says so (a Location header such as /items/7, or an id in a JSON reply such as project.id 7).

Bugmole doesn't delete what it created: deleting is one of the things exploration never does. Set Exploration only looks here on an environment where nothing should be created at all.

Keep track of runs

Runs lists every run the project keeps: its result, how long it took, and what started it (the dashboard, a pull request with a link to its GitHub check, or a commit). By test shows each test's last ten results and marks a test Flaky when it both passed and failed recently.

A run in progress shows roughly how long it has left and when to come back, based on how long earlier runs of the same test took. Explorations and agent tasks do the same.

Debug a failed run

Select a browser's result in a run to open it:

Tab Shows
Overview Status, the step that failed, duration, browser, and environment
Logs The step log, page errors, and console errors (typed text is masked)
Screenshots The page when the run failed or finished
Trace Every step on a timeline with its duration, plus the full Playwright trace to download and open at trace.playwright.dev
AI Analysis Why the run failed, the evidence, and a suggested fix

When a step fails, Bugmole records what was on the page — its controls and headings, error messages, and fields that are empty or invalid — and works out the cause:

AI then explains the failure in plain words. If your project configures its own AI model (see Configuration), that model does it at no credit cost; otherwise Bugmole AI does, for 1 AI credit per failure (see Plans and limits). The suggested change itself always comes from what Bugmole verified on the page.

Apply a fix

Apply fix starts a new run on the same browser with the suggested change written to the flow first. The flow file is updated where the plan keeps it, so the fix sticks. If the flow changed since the suggestion was made, the run stops and asks you to re-run for a new suggestion instead of editing the wrong step.