-
-
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
[rb] Add Bidi network commands for authentication and interception #14523
base: trunk
Are you sure you want to change the base?
Conversation
… into bidi_add_authentication_handler
… into bidi_add_authentication_handler
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
… into bidi_add_authentication_handler
… into bidi_add_authentication_handler
Description
This PR adds the following:
Motivation and Context
Based on #13993 this PR follows the agreed defined API methods implemented for the Ruby binding, now is possible to call driver.network.add_authentication_handler
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Network
class within theBiDi
module to handle network events and authentication.Network
class to ensure functionality.Network
class and related methods.Changes walkthrough 📝
5 files
bidi.rb
Add autoload for Network in BiDi class
rb/lib/selenium/webdriver/bidi.rb
Network
in theBiDi
class.network.rb
Introduce Network class with intercept and auth handling
rb/lib/selenium/webdriver/bidi/network.rb
Network
class withinBiDi
.authentication.
common.rb
Add require statement for network
rb/lib/selenium/webdriver/common.rb
network
.driver.rb
Add network method to Driver class
rb/lib/selenium/webdriver/common/driver.rb
network
method to return aNetwork
instance.network.rb
Create Network class for authentication management
rb/lib/selenium/webdriver/common/network.rb
Network
class for managing authentication handlers.1 files
struct.rb
Fix comment formatting in BiDi module
rb/lib/selenium/webdriver/bidi/struct.rb
BiDi
module.3 files
network_spec.rb
Add integration tests for BiDi Network class
rb/spec/integration/selenium/webdriver/bidi/network_spec.rb
Network
class inBiDi
.network_spec.rb
Add integration tests for Network class
rb/spec/integration/selenium/webdriver/network_spec.rb
Network
class.network_spec.rb
Add unit tests for BiDi Network class
rb/spec/unit/selenium/webdriver/bidi/network_spec.rb
Network
class inBiDi
.3 files
network.rbs
Add type signatures for BiDi Network class
rb/sig/lib/selenium/webdriver/bidi/network.rbs
Network
class inBiDi
.driver.rbs
Add type signature for network method
rb/sig/lib/selenium/webdriver/common/driver.rbs
network
method.network.rbs
Add type signatures for Network class
rb/sig/lib/selenium/webdriver/common/network.rbs
Network
class.