-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java] Change BiDi "internalId" type from Long to String #16918
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
[java] Change BiDi "internalId" type from Long to String #16918
Conversation
In BiDi spec, its type is "TEXT".
Latest FireFox 147.0 returns UUID in field "internalId":
{
"type" : "node",
"sharedId" : "5dd958fd-0033-4b3a-b06a-f9eec9db2c85",
"value" : { ... },
"internalId" : "df8e0744-b1db-49b2-96df-45bd0d70dcd3"
}
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:
|
|||||||||||||||
@diemol @titusfortner We need to get this fix to 4.40.0 release.
User description
In BiDi spec, its type is "TEXT".
Latest FireFox 147.0 returns UUID in field "internalId":
{ "type" : "node", "sharedId" : "5dd958fd-0033-4b3a-b06a-f9eec9db2c85", "value" : { ... }, "internalId" : "df8e0744-b1db-49b2-96df-45bd0d70dcd3" }Stack trace:
🔄 Types of changes
PR Type
Bug fix
Description
Change BiDi
internalIdfield type fromLongtoStringAlign with BiDi specification where type is TEXT
Support Firefox 147.0+ UUID format for
internalIdDiagram Walkthrough
File Walkthrough
RemoteValue.java
Update internalId field type to Stringjava/src/org/openqa/selenium/bidi/script/RemoteValue.java
internalIdfield type fromOptionaltoOptionalinternalIdfromJson()method to deserializeinternalIdasStringinsteadof
LonggetInternalId()getter return type toOptional