Make Chrome headless the default WebDriver browser

- Add --safari flag to CLI for explicitly choosing Safari
- Update --chrome-headless flag description to indicate it's the default
- Update README to reflect Chrome headless as default
- Remove broken link to non-existent docs/webdriver-setup.md
- Add Safari flag handling in all webdriver config locations

The config already had ChromeHeadless as the default, this commit
updates the CLI and documentation to match.
This commit is contained in:
Dhanji R. Prasanna
2025-12-15 16:51:42 +11:00
parent d32bd9be03
commit 3d1b86d24b
9 changed files with 569 additions and 46 deletions

View File

@@ -105,6 +105,11 @@ max_actions_per_second = 5
[webdriver]
enabled = false
safari_port = 4444
chrome_port = 9515
# Browser to use: "safari" or "chrome-headless" (default)
# Safari opens a visible browser window
# Chrome headless runs in the background without a visible window
browser = "chrome-headless"
[macax]
enabled = false