-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
fixed errors in browser.py for 15697 #15847
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 ✨Latest suggestions up to ecc8cec
Previous suggestions✅ Suggestions up to commit 6a87672
✅ Suggestions up to commit 11e8805
|
Requesting kindly @cgoldberg for review. |
Co-authored-by: Navin Chandra <navinchandra772@gmail.com>
Co-authored-by: Navin Chandra <navinchandra772@gmail.com>
Co-authored-by: Navin Chandra <navinchandra772@gmail.com>
Co-authored-by: Navin Chandra <navinchandra772@gmail.com>
Co-authored-by: Navin Chandra <navinchandra772@gmail.com>
@navin772 , kindly please check if its fine now. Thank you for the suggestions. |
@navin772 -- running bazel command gives this error - ERROR: One of the output paths 'bazel-out/darwin_arm64-fastbuild/bin/py/selenium/webdriver/common/devtools/v135/pycache/animation.cpython-39.pyc' (belonging to //py:selenium) and 'bazel-out/darwin_arm64-fastbuild/bin/py/selenium/webdriver/common/devtools/v135' (belonging to //py:create-cdp-srcs-v135) is a prefix of the other. These actions cannot be simultaneously present; please rename one of the output files or build just one of them |
@pallavigitwork I get the same error (and have for months) and pretty much can't use bazel for anything except the initial build. I use PyTest directly for running tests. |
ok @cgoldberg thank you, i will do the same. |
@pallavigitwork yes, I recently started getting that error (don't know how to fix it yet), but a temporary workaround would be to change the
Note the |
ok @navin772 thank you. |
@navin772 please kindly also let me know what does RBE stands for. sorry if it sounds silly. im not aware of this abbreviation. |
@pallavigitwork RBE stands for |
:) ok thank you @navin772 |
Thank you Navin for all the help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pallavigitwork LGTM .... Go ahead and merge it. If you don't have access, let me know and I'll do it. Thanks!
Thank you @navin772 |
User description
🔗 Related Issues
💥 What does this PR do?
fixed errors in browser.py for 15697
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Bug fix
Description
Added strict type validation to
ClientWindowInfo.from_dict
Raised
ValueError
for missing or invalid fieldsImproved error handling for dictionary parsing
Changes walkthrough 📝
browser.py
Add type checks and error handling to from_dict method
py/selenium/webdriver/common/bidi/browser.py
from_dict
to validate field types strictlyValueError
for missing or invalid fields