Skip to main content

AI Browser Automation

AI Browser Automation lets TestFlair drive a live browser to exercise your application using AI, complementing the scripted Selenium/Playwright runs. Instead of executing pre-generated code line by line, the AI navigates and interacts with your app to validate the test case.

Beta feature

AI Browser Automation is a Beta feature and surfaces from the test-scripts area. If you don't see the option, it isn't enabled for your account — contact your workspace admin or [email protected].

Scripted Run vs. AI Run​

Scripted runAI browser run
How it worksExecutes generated Selenium/Playwright code.AI interprets the test case and drives the browser live.
Best forStable, repeatable regression.Exploratory checks and steps that are hard to script.
What you watchLive browser stream + step logs.Live browser stream + AI action logs.

Both run on the same live-browser infrastructure, so you get the same live viewing experience — a streamed browser session, real-time logs, and metrics.

Running​

  1. Open a test case's run view from the Test Scripts area.
  2. Choose the AI browser automation option (shown when the flag is enabled).
  3. Provide the target URL and confirm your execution preferences.
  4. Start the run and follow along in the live browser and log panels.
info

AI browser runs consume Flairs. Check your balance under Settings → Usage.

Testing Local Apps​

If your app runs locally or behind a firewall, set up a tunnel first so the cloud browser can reach it — see Testing Local Applications.

Next Steps​