Choose how to capture UI actions
Start with the result you want to check. You can test what appears on a page without changing the app. If you also want to inspect a server request or generate a test from a recorded session, that path has its own setup.
Choose a path
| Your goal | What you need | Start here |
|---|---|---|
| Check a web page in a test | A test runner and, for new agent.act() steps, a model. No frontend SDK or backend tracing is required. | Your first web UI test |
| Check a backend request during a test | A configured Blackbox sink and backend telemetry that captures the relevant request. The frontend SDK is optional. | Natural-language tests with backend checks |
| Generate a test from a recorded web session | Web action spans from @softprobe/web-record, a Blackbox session, and a coding agent. Backend telemetry is needed only for backend checks. | Generate tests from a recorded web session |
| Capture actions while testing a mobile app | softprobeMobile can capture actions driven by its host test without an SDK in the app. Export to a configured sink to inspect the session. | Test an unmodified mobile app |
| Capture manual or real-user mobile sessions | Add the platform SDK and configure export from the app. This path can capture actions outside a host-driven test. | Instrument a mobile app |
The mobile host capture path records actions performed through the test engine. It is not a recorder for arbitrary manual sessions. Its proxy-based backend checks also require the app to use the proxy address supplied at launch.
Understand the difference
The frontend SDK records supported actions inside the application. Mobile host capture observes actions performed by the test runner. Both can provide semantic actions for a coding agent when those actions are exported to Blackbox. A coding agent uses the session history to write a test; the SDK does not turn the recording into a test by itself.
To check only what a user sees, omit the backend sink and trace assertions. For a server check, configure backend telemetry and verify the relevant request in Blackbox. A visible success message alone does not prove that a server request or an email was sent.
Next steps
Web UI test
Follow your first web UI test. To add a backend request check, see natural-language tests with backend checks.
Recorded web session
Set up web session capture to generate a test from actions recorded by the browser SDK.
Mobile host capture
See the mobile host capture path for its device and proxy requirements.
Mobile app SDK
See the mobile SDK path for React Native, Android, and iOS setup.