Skip to content

Conversation

@shrey150
Copy link
Contributor

@shrey150 shrey150 commented Nov 20, 2025

Why

Currently, the headless option for local browser launch is hardcoded to False by default, which doesn't allow for configuration through the Stagehand config.

What Changed

  • Added a new headless configuration option to StagehandConfig with a default value of False
  • Modified the local browser launch options to use the headless setting from the Stagehand config when not explicitly specified

Test Plan

  • Verify that browsers launch in headless mode when the config option is set to True
  • Verify that browsers launch in non-headless mode when the config option is set to False
  • Confirm that explicitly setting headless in launch options still overrides the config value

Copy link
Contributor Author

shrey150 commented Nov 20, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@shrey150 shrey150 marked this pull request as ready for review November 20, 2025 02:21
This was referenced Nov 20, 2025
@shrey150 shrey150 merged commit 9c9384f into main Nov 20, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants