Skip to content

Add BiDi network examples and documentation for Ruby #2100

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

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add skips until new Selenium release
  • Loading branch information
aguspe committed Dec 14, 2024
commit f720c45e1d30a1effbdde0d2bc5f3deccbd205c7
10 changes: 5 additions & 5 deletions examples/ruby/spec/bidi/network_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,32 @@
let(:driver) { start_bidi_session }
let(:wait) { Selenium::WebDriver::Wait.new(timeout: 2) }

it 'adds an auth handler' do
it 'adds an auth handler', skip: 'until Selenium release 4.28.0' do
network = driver.network
network.add_authentication_handler('username', 'password')
expect(network.callbacks.count).to be 1
end

it 'adds a request handler' do
it 'adds a request handler', skip: 'until Selenium release 4.28.0' do
network = driver.network
network.add_request_handler
expect(network.callbacks.count).to be 1
end

it 'adds a response handler' do
it 'adds a response handler', skip: 'until Selenium release 4.28.0' do
network = driver.network
network.add_response_handler
expect(network.callbacks.count).to be 1
end

it 'removes a handler' do
it 'removes a handler', skip: 'until Selenium release 4.28.0' do
network = driver.network
id = network.add_request_handler
network.remove_handler(id)
expect(network.callbacks.count).to be 0
end

it 'clears all handlers' do
it 'clears all handlers', skip: 'until Selenium release 4.28.0' do
network = driver.network
network.add_request_handler
network.add_request_handler
Expand Down
Loading