Skip to content

Fix ChromeDriver detection and handle cleanup errors#87

Open
jleinenbach wants to merge 2 commits intoleonboe1:mainfrom
jleinenbach:main
Open

Fix ChromeDriver detection and handle cleanup errors#87
jleinenbach wants to merge 2 commits intoleonboe1:mainfrom
jleinenbach:main

Conversation

@jleinenbach
Copy link

Fixed with Claude.ai
Please review.


Fix ChromeDriver detection and handle cleanup errors

  • Improve Chrome executable detection with expanded paths for Windows,
    Linux, and macOS including per-user installations
  • Add Chrome version detection from Windows registry and command line
  • Implement multiple fallback strategies for driver creation
  • Add webdriver-manager as fallback for standard Selenium
  • Add safe_quit_driver() to handle WinError 6 (invalid handle) errors
  • Update requirements.txt to include webdriver-manager>=4.0.2

claude and others added 2 commits January 23, 2026 20:56
- Improve Chrome executable detection with expanded paths for Windows,
  Linux, and macOS including per-user installations
- Add Chrome version detection from Windows registry and command line
- Implement multiple fallback strategies for driver creation
- Add webdriver-manager as fallback for standard Selenium
- Add safe_quit_driver() to handle WinError 6 (invalid handle) errors
- Update requirements.txt to include webdriver-manager>=4.0.2
…fLj82

Fix ChromeDriver detection and handle cleanup errors
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.

2 participants