Programmable Browser
Turn your browser into an automation platform. Doda includes a built-in macro recorder and scripting REPL that lets you record, replay, and automate any web workflow.
Overview
The Programmable Browser feature turns Doda into a tool, not just a viewer. Record your actions as reusable macros, replay them automatically, or write JavaScript directly in any page using the built-in REPL.
Key Features
- Macro Recorder — records clicks, form entries, scrolls, and navigation using CSS selector-based targeting
- Playback Engine — replays recorded macros step-by-step with configurable delays
- Macro Storage — save/load/delete named macros with timestamps
- Scripting REPL — evaluate arbitrary JavaScript in any page context
- Command History — navigate previous commands with arrow keys
- Keyboard Shortcuts — Esc to clear, Shift+Enter to execute
- Recording Overlay — visible recording indicator and step counter
How It Works
The Programmable Browser is a WebExtension that provides:
- Toolbar Popup — Record/Stop/Play buttons with live step counter
- Sidebar Action — scripting REPL with output panel and error highlighting
- Recording UI — red status bar overlay on recorded pages
- Storage — all macros stored in
browser.storage.local
Access
- Click the Programmable Browser toolbar icon
- Open the sidebar for the scripting REPL
- Command Palette (
Ctrl+Shift+,)
Use Cases
- Automate repetitive form filling
- Record testing workflows
- Scrape data from pages
- Prototype JavaScript snippets in real page contexts
- Create macros for regular tasks