Always keep chromedriver running for faster subsequent startups

Removed the persistent_chrome config flag - chromedriver is now always
kept running after webdriver_quit. This eliminates startup latency for
subsequent WebDriver sessions.

Safaridriver is still killed on quit since it doesn't benefit from
persistence in the same way.

Updated quit message to correctly indicate chromedriver remains running.
This commit is contained in:
Dhanji R. Prasanna
2026-01-17 09:48:10 +05:30
parent 8ed360024f
commit d600b600b8
3 changed files with 8 additions and 17 deletions

View File

@@ -80,4 +80,3 @@ model = "claude-sonnet-4-5"
# browser = "chrome-headless" # Default. Alternative: "safari"
# chrome_binary = "/path/to/chrome" # Optional: custom Chrome path
# chromedriver_binary = "/path/to/driver" # Optional: custom ChromeDriver path
# persistent_chrome = true # Keep chromedriver running between sessions for faster startup