GUI mode
Add --gui to open to launch Firefox headed.
agent-browser-ff open https://example.com --guiagent-browser-ff gui off # switch to headlessagent-browser-ff gui on # switch backWhat changes
Section titled “What changes”| Behaviour | Detail |
|---|---|
| Speed | --slowmo defaults to 250 ms in GUI mode and 0 otherwise |
| Overlay | Highlights the element about to be acted on and shows the current command in a small badge |
| Pointer events | The overlay never intercepts them |
| Exclusions | Overlay is left out of snapshots, screenshots (unless --with-overlay) and scraped data |
Switching mid-session
Section titled “Switching mid-session”gui on|off relaunches Firefox and restores cookies, localStorage and the current URL.
No display
Section titled “No display”On Linux without DISPLAY or WAYLAND_DISPLAY, --gui fails immediately with E_NO_DISPLAY instead of hanging. Use headless mode there.
Useful with
Section titled “Useful with”macro record <name> --guito let a human perform a flowmacro play <name> --gui --stepto pause before each step and press Enter