-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[grid] Update handling SessionId from json #16683
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
Signed-off-by: Viet Nguyen Duc <[email protected]>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
🔗 Related Issues
💥 What does this PR do?
Add back something since PR #16678
🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Bug fix
Description
Restore SessionId JSON deserialization from Map objects
Handle legacy session ID format with "value" key
Change toJson() return type from Object to String
Add Map import for type handling
Diagram Walkthrough
File Walkthrough
SessionId.java
Add Map-based SessionId JSON deserialization supportjava/src/org/openqa/selenium/remote/SessionId.java
Mapimport for handling Map-based session ID deserializationtoJson()return type fromObjecttoStringfor type safetyfromJson()to handle Map objects with "value" key