fixed errors in browser.py for 15697#15847
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 <[email protected]>
Co-authored-by: Navin Chandra <[email protected]>
Co-authored-by: Navin Chandra <[email protected]>
Co-authored-by: Navin Chandra <[email protected]>
Co-authored-by: Navin Chandra <[email protected]>
|
@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 |
|
Thank you Navin for all the help. |
cgoldberg
left a comment
There was a problem hiding this comment.
@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_dictRaised
ValueErrorfor missing or invalid fieldsImproved error handling for dictionary parsing
Changes walkthrough 📝
browser.py
Add type checks and error handling to from_dict methodpy/selenium/webdriver/common/bidi/browser.py
from_dictto validate field types strictlyValueErrorfor missing or invalid fields