-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java][bidi]: add getData
, addDataCollector
and removeDataCollector
commands
#16336
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
base: trunk
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
🔗 Related Issues
💥 What does this PR do?
Adds
getData
,addDataCollector
andremoveDataCollector
commands as in BiDi spec:🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add BiDi network data collection commands per W3C spec
Implement
addDataCollector
,removeDataCollector
, andgetData
methodsCreate parameter classes for data collection configuration
Add comprehensive test coverage for all new functionality
Diagram Walkthrough
File Walkthrough
Network.java
Add network data collection methods
java/src/org/openqa/selenium/bidi/module/Network.java
addDataCollector
,removeDataCollector
,getData
getData
command responseAddDataCollectorParameters.java
Create AddDataCollectorParameters class
java/src/org/openqa/selenium/bidi/network/AddDataCollectorParameters.java
addDataCollector
commandDataType.java
Add DataType enum
java/src/org/openqa/selenium/bidi/network/DataType.java
GetDataParameters.java
Create GetDataParameters class
java/src/org/openqa/selenium/bidi/network/GetDataParameters.java
getData
commandNetworkCommandsTest.java
Add data collection command tests
java/test/org/openqa/selenium/bidi/network/NetworkCommandsTest.java