-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[java][BiDi] implement browser.setDownloadBehavior
#16646
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 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:
|
|||||||||||||||
User description
🔗 Related Issues
💥 What does this PR do?
Implements
browser.setDownloadBehaviorfrom the W3C spec🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Implements W3C BiDi
browser.setDownloadBehaviorcommandSupports allowed/denied download behaviors with destination folder
Enables per-user-context download behavior configuration
Includes comprehensive test coverage for all scenarios
Diagram Walkthrough
File Walkthrough
SetDownloadBehaviorParameters.java
New download behavior parameters classjava/src/org/openqa/selenium/bidi/browser/SetDownloadBehaviorParameters.java
destinationFolder)
Browser.java
Add setDownloadBehavior method to Browser modulejava/src/org/openqa/selenium/bidi/module/Browser.java
setDownloadBehavior()method that sends BiDi commandBrowserCommandsTest.java
Add comprehensive tests for setDownloadBehaviorjava/test/org/openqa/selenium/bidi/browser/BrowserCommandsTest.java
user-context-specific behavior