-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py][BiDi] separate log module from script module and add more tests #15668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
User description
🔗 Related Issues
💥 What does this PR do?
Implements log module as a separate package
🔧 Implementation Notes
log module was already implemented inside script module but log has to be implemented as their own separate package
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement, Tests
Description
Extracted log handling into a separate
logmoduleRefactored script module to use new log module
Added tests for JavaScript error log handling
Improved test coverage for log handler removal
Changes walkthrough 📝
log.py
Add standalone BiDi log handling modulepy/selenium/webdriver/common/bidi/log.py
script.py
Refactor script module to use new log modulepy/selenium/webdriver/common/bidi/script.py
bidi_script_tests.py
Add and extend tests for BiDi log handlingpy/test/selenium/webdriver/common/bidi_script_tests.py