Revert to Safari as default WebDriver browser

Chrome headless has too many issues:
- Session creation hangs when Chrome is already running
- Cloudflare and other bot protection blocks headless browsers
- Version mismatch issues between Chrome and ChromeDriver

Safari is more reliable for web automation on macOS.
Chrome headless is still available via --chrome-headless flag.
This commit is contained in:
Dhanji R. Prasanna
2025-12-16 12:36:18 +11:00
parent bbe57b4764
commit faa6512b1f
4 changed files with 10 additions and 10 deletions

View File

@@ -106,10 +106,10 @@ max_actions_per_second = 5
enabled = false
safari_port = 4444
chrome_port = 9515
# Browser to use: "safari" or "chrome-headless" (default)
# Browser to use: "safari" (default) or "chrome-headless"
# Safari opens a visible browser window
# Chrome headless runs in the background without a visible window
browser = "chrome-headless"
browser = "safari"
# Optional: Path to Chrome binary (e.g., Chrome for Testing)
# If not set, ChromeDriver will use the default Chrome installation
# Use this to avoid version mismatch issues between Chrome and ChromeDriver