pydoll
pydoll copied to clipboard
Feature/edge browser implementation
Description
Add Microsoft Edge browser automation support to pydoll library.
Changes
- Add Edge browser class with Edge-specific configurations
- Add test suite for Edge browser functionality
- Update browser initialization to expose Edge support
Testing
All tests passing, including Edge-specific test cases.
This PR addresses issue #41 by adding support for Microsoft Edge browser.
Hi @Harris-H,
First of all, thanks for your contribution! This feature is amazing.
I just left some comments to maintain the Pydoll code style and ensure the separation of concerns.
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
|
🎫 Ticket compliance analysis ✅ 41 - Fully compliant Compliant requirements: • Add Microsoft Edge browser support to pydoll • Implement Edge browser class • Add Edge-specific configurations • Add tests for Edge browser functionality • Ensure full test coverage |
| ⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪ |
| 🧪 PR contains tests |
| 🔒 No security concerns identified |
🔀 Multiple PR themesSub-PR theme: Refactor base browser classes to support multiple browser typesRelevant files:
Sub-PR theme: Add Microsoft Edge browser implementationRelevant files:
Sub-PR theme: Add tests for Microsoft Edge browser supportRelevant files:
|
⚡ Recommended focus areas for reviewMissing KDoc
|
PR Code Suggestions ✨
Explore these optional code suggestions:
| Category | Suggestion | Impact |
| Security |
Fix security risk[English] pydoll/browser/base.py [574-586]
Suggestion importance[1-10]: 9__ Why: Using a fixed user data directory for Edge browser creates a significant security and privacy risk as sensitive user data persists between sessions. Using temporary directories for all browsers is a more secure approach. | High |
| General |
✅
| Medium |
✅
| Low | |
| ||
- [ ] Author self-review: I have reviewed the PR code suggestions, and addressed the relevant ones.
Hi @Harris-H,
First of all, thanks for your contribution! This feature is amazing.
I just left some comments to maintain the Pydoll code style and ensure the separation of concerns.
You're welcome. I have completed the main revisions. There may still be some areas that need to be improved. If you have any questions, we can discuss them again.
Thank's! I'll review as soon as possible :) Since it's a breaking change, I'll do some refactor first before merge.
Hi @Harris-H , how are you? Once you fix the tests, please let me know
Hi @Harris-H , how are you? Once you fix the tests, please let me know
Ok, I fixed the code and now the test passes。 @thalissonvs
Hi @Harris-H , I just checked the code again, and the tests are still failing. I've created a CONTRIBUTING.md file. If you need any help, please contact me
Hi @Harris-H , I just checked the code again, and the tests are still failing. I've created a CONTRIBUTING.md file. If you need any help, please contact me
Sorry, all tests should pass now. @thalissonvs
Hi @Harris-H , the tests are passing, but the ruff ci is still breaking :/
Codecov Report
Attention: Patch coverage is 90.54054% with 7 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| pydoll/browser/managers.py | 87.50% | 4 Missing :warning: |
| pydoll/browser/options.py | 81.81% | 2 Missing :warning: |
| pydoll/browser/chrome.py | 50.00% | 1 Missing :warning: |
:loudspeaker: Thoughts on this report? Let us know!
Hi @Harris-H , the tests are passing, but the ruff ci is still breaking :/
Hello @thalissonvs, the CI check of ruff has been repaired.
Nice @Harris-H , thank you so much. I'll update the documentation later :)
Sorry, all tests should pass now. @thalissonvs