-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add support for handling user prompt #15291
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
Motivation and Context
To add full support of the BiDi protocol of the ruby bindings this PR adds support for handling user prompts through BiDi
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Added
handle_user_prompt
method to manage user prompts.Introduced tests for handling user prompts in various scenarios.
Updated type signature for
handle_user_prompt
in RBS file.Changes walkthrough 📝
browsing_context.rb
Add `handle_user_prompt` method for user prompts
rb/lib/selenium/webdriver/bidi/browsing_context.rb
handle_user_prompt
method to handle user prompts.browsing_context.rbs
Update RBS with `handle_user_prompt` signature
rb/sig/lib/selenium/webdriver/bidi/browsing_context.rbs
handle_user_prompt
method.browsing_context_spec.rb
Add tests for handling user prompts
rb/spec/integration/selenium/webdriver/bidi/browsing_context_spec.rb