-
-
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] Add provide response command #13708
Conversation
PR Description updated to latest commit (5e43418)
|
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. |
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 provide response command of the BiDi Network module https://w3c.github.io/webdriver-bidi/#command-network-provideResponse in Java and JS bindings.
Motivation and Context
Incrementally implement BiDI APIs.
Types of changes
Checklist
Type
enhancement, tests
Description
provideResponse
command implementation in both Java and JavaScript bindings.ProvideResponseParameters
class in Java and JavaScript for setting up response parameters.provideResponse
command in Java and JavaScript, including a disabled test for future comprehensive testing.Changes walkthrough
Network.java
Add Provide Response Command to Network Module
java/src/org/openqa/selenium/bidi/module/Network.java
provideResponse
method to theNetwork
class.ProvideResponseParameters.java
Implement ProvideResponseParameters Class
java/src/org/openqa/selenium/bidi/network/ProvideResponseParameters.java
ProvideResponseParameters
class with methods to set requestparameters.
network.js
Add Provide Response Command to Network Class
javascript/node/selenium-webdriver/bidi/network.js
provideResponse
method to theNetwork
class.provideResponseParameters.js
Implement ProvideResponseParameters Class
javascript/node/selenium-webdriver/bidi/provideResponseParameters.js
ProvideResponseParameters
class with methods for setting upresponse parameters.
NetworkCommandsTest.java
Add Tests for Provide Response Command
java/test/org/openqa/selenium/bidi/network/NetworkCommandsTest.java
provideResponse
method inNetwork
class.network_commands_test.js
Add Test for Provide Response Command
javascript/node/selenium-webdriver/test/bidi/network_commands_test.js
provideResponse
method, currently marked as pending.