fix: support multiple default Chrome paths on each OS
- Update _get_default_binary_location to check both "Program Files" and "Program Files (x86)" directories.
- Ensure that Chrome is correctly located regardless of its installation path.
- Raise an error if Chrome is not found in the default locations.
Hi @dannysigalovich, first of all, thanks for your contribution! I'll review your PR now
Also, please follow the Conventional Commits style; without it, I can't generate the releases. Just undo your commit and commit again with the fix: prefix
Nice @dannysigalovich! You just have to fix the formatation now. Run poetry run task lint and see where's broken. Also, the tests still not passing
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
| Flag | Coverage Δ | |
|---|---|---|
| tests | 97.18% <100.00%> (-0.13%) |
:arrow_down: |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Files with missing lines | Coverage Δ | |
|---|---|---|
| pydoll/browser/chrome.py | 93.75% <100.00%> (ø) |
|
| pydoll/browser/managers.py | 98.76% <100.00%> (+0.01%) |
:arrow_up: |
... and 1 file with indirect coverage changes
🚀 New features to boost your workflow:
- ❄ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
|
🎫 Ticket compliance analysis ❌ 41 - Not compliant Non-compliant requirements:
|
| ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪ |
| 🧪 PR contains tests |
| 🔒 No security concerns identified |
🔀 Multiple PR themesSub-PR theme: Support multiple Chrome binary pathsRelevant files:
Sub-PR theme: Add tests for multiple Chrome binary pathsRelevant files:
|
⚡ Recommended focus areas for reviewNon-English Comment
|
PR Code Suggestions ✨
Explore these optional code suggestions:
| Category | Suggestion | Impact |
| General |
Add more Linux Chrome paths[English] pydoll/browser/chrome.py [50-61]
Suggestion importance[1-10]: 7__ Why: This suggestion adds additional common Chrome/Chromium paths for Linux, which improves compatibility across different Linux distributions. This is a meaningful enhancement that increases the robustness of the browser detection functionality. | Medium |
| ||
- [ ] Author self-review: I have reviewed the PR code suggestions, and addressed the relevant ones.
Nice @dannysigalovich , thank you so much for your contribution