Support a config-backed headless default with an explicit headed opt-in
Author: gwelinderCreated Aug 25, 2026Updated Aug 25, 2026
Use case
Automation agents should be able to reuse one isolated browser without opening persistent visible windows. Today callers must carry lifecycle policy outside the CLI.
Proposed behavior
- add a
headlessconfig value and use it when no command-line override is supplied - add an explicit
--headedoverride - require a deliberate environment opt-in before headed mode is accepted
- document idle cleanup and shared-instance usage
- preserve direct flag precedence over configuration
I have a tested implementation on a fork branch, but am opening this issue first per the contribution guide and will wait for maintainer feedback before submitting it.
Source: SawyerHood/dev-browser