[bidi][java] Add storage module#13675
Conversation
|
PR Description updated to latest commit (af9754f)
|
PR Review
✨ Review tool usage guide:Overview: With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview: With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## trunk #13675 +/- ##
=======================================
Coverage 58.48% 58.48%
=======================================
Files 86 86
Lines 5270 5270
Branches 220 220
=======================================
Hits 3082 3082
Misses 1968 1968
Partials 220 220 ☔ View full report in Codecov by Sentry. |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Add storage module as described in https://w3c.github.io/webdriver-bidi/#module-storage
Motivation and Context
Implementing BiDi APIs incrementally
Types of changes
Checklist
Type
enhancement, tests
Description
Storageclass with methods for cookie management, including getting, setting, and deleting cookies.Cookieclass.BrowsingContextPartitionDescriptor,CookieFilter, and more.storagepackage and its tests.Changes walkthrough
Storage.java
Implement Storage Class with Cookie Management Methodsjava/src/org/openqa/selenium/bidi/Storage.java
Storageclass to handle storage-related commands.BiDiprotocol for communication.BytesValue.java
Update Visibility of BytesValue Componentsjava/src/org/openqa/selenium/bidi/network/BytesValue.java
Typeenum and constructor ofBytesValuepublic.*.java
Add Storage Module Supporting Classesjava/src/org/openqa/selenium/bidi/storage/*.java
and partition management.
BrowsingContextPartitionDescriptor,CookieFilter,DeleteCookiesParameters,GetCookiesParameters,GetCookiesResult,PartialCookie,PartitionDescriptor,PartitionKey,SetCookieParameters,and
StorageKeyPartitionDescriptor.Cookie.java
Fix Cookie JSON Property Names and Expiry Handlingjava/src/org/openqa/selenium/bidi/network/Cookie.java
httpOnlycookies.Optional.StorageCommandsTest.java
Add Tests for Storage Module Cookie Operationsjava/test/org/openqa/selenium/bidi/storage/StorageCommandsTest.java
set, and delete operations.
adding cookies, and deleting cookies.
BUILD.bazel
Update Bazel Build to Include Storage Packagejava/src/org/openqa/selenium/bidi/BUILD.bazel
storagepackage.BUILD.bazel
Add Bazel Build Configuration for Storage Module Testsjava/test/org/openqa/selenium/bidi/storage/BUILD.bazel