Recording & Exporting Actions
Export GuideConvert AI Browser sessions into reusable Visual Studio workflows
One of the most powerful features of the AI Browser Agent is the ability to record every action it takes and export them as a Visual Studio workflow. This means you can use AI to figure out the automation once, then run it repeatedly without consuming AI credits.
How Recording Works
Automatic Action Capture
Every action the AI performs (clicks, typing, navigation, scrolling) is automatically recorded with the selectors and parameters it captured.
Smart Selector Generation
Each clicked element keeps a ranked list of selector options (Playwright locators such as getByRole, or CSS), so the workflow can fall back to another option if one stops matching.
One-Click Export
When ready, click "Refine in Visual Studio" to convert all recorded actions into workflow nodes that you can edit, arrange, and enhance.
Video Recording
In addition to action recording, you can enable video recording to capture a complete visual record of the browser session. Video recording is included on paid plans (not the Free Trial).
To enable video recording:
- Toggle "Video Recording" ON in the AI Browser Agent header (or turn on "Enable Video Recording by Default" in Settings β AI Browser Agent)
- Run your session as normal
- The video is finalized when the session ends β End Chat, or the cloud browser's session timeout
- Cloud Browser: the chat's recording card shows "Watch recording" once the video is ready, and every recording is listed on the Cloud Sessions page. Your own Chrome: the "Recording saved!" card opens the file, saved to the Recording Location set in Settings β AI Browser Agent
π‘ Video recording slightly increases resource usage but doesn't affect AI credits.

Exporting to Visual Studio
- Verify selectors are correct
- Add wait conditions if needed
- Parameterize values you want to change between runs
- Add error handling or branching logic
Tips for Good Recordings
Start from a Clean State
Use Explicit Waits
Avoid Random Data
Test on the Same Site Version
Exporting from Chrome Sidebar
The Prompteryx in Chrome sidebar agent also supports exporting actions to Visual Studio:
- Complete your task using the sidebar agent
- Click the "Visual Studio" button in the sidebar
- A new Visual Studio tab opens with your actions
This is especially useful for "Current Tab" mode sessions where you've automated actions on a page you were already viewing.