-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[bidi][java] Add continueRequest and continueResponse command #13692
Conversation
PR Description updated to latest commit (8583136)
|
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. |
8583136
to
7f9196e
Compare
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 continueRequest and continueResponse command from the Network module
Motivation and Context
Types of changes
Checklist
Type
enhancement
Description
continueRequest
andcontinueResponse
methods inNetwork.java
to support continuing paused network requests and responses.ContinueRequestParameters
,ContinueResponseParameters
,SetCookieHeader
) to encapsulate various parameters for network operations.BytesValue
,Cookie
, andHeader
classes withtoMap
methods for easier conversion to Map representations.continueRequest
andcontinueResponse
functionalities in theNetworkCommandsTest.java
.Changes walkthrough
Network.java
Add Methods for Continuing Paused Requests and Responses
java/src/org/openqa/selenium/bidi/module/Network.java
continueRequest
method to send a command for continuing a pausedrequest.
continueResponse
method to send a command for continuing apaused response.
BytesValue.java
Enhance BytesValue with toMap Conversion Method
java/src/org/openqa/selenium/bidi/network/BytesValue.java
toMap
method to convertBytesValue
instances to a Maprepresentation.
ContinueRequestParameters.java
Introduce ContinueRequestParameters Class
java/src/org/openqa/selenium/bidi/network/ContinueRequestParameters.java
ContinueRequestParameters
class to encapsulate parametersfor continuing a paused request.
ContinueResponseParameters.java
Introduce ContinueResponseParameters Class
java/src/org/openqa/selenium/bidi/network/ContinueResponseParameters.java
ContinueResponseParameters
class to encapsulate parametersfor continuing a paused response.
Cookie.java
Enhance Cookie with toMap Conversion Method
java/src/org/openqa/selenium/bidi/network/Cookie.java
toMap
method to convertCookie
instances to a Maprepresentation.
Header.java
Enhance Header with toMap Conversion Method
java/src/org/openqa/selenium/bidi/network/Header.java
toMap
method to convertHeader
instances to a Maprepresentation.
SetCookieHeader.java
Introduce SetCookieHeader Class
java/src/org/openqa/selenium/bidi/network/SetCookieHeader.java
SetCookieHeader
class to encapsulate parameters for settinga cookie.
NetworkCommandsTest.java
Add Tests for ContinueRequest and ContinueResponse Methods
java/test/org/openqa/selenium/bidi/network/NetworkCommandsTest.java
continueRequest
andcontinueResponse
methods in theNetwork
module.