-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Merged
diemol
merged 13 commits into
SeleniumHQ:trunk
from
aguspe:rb_add_network_examples_and_docs
Aug 18, 2025
Merged
Changes from 6 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
bee7307
Add BiDi network examples and documentation for Ruby
aguspe f720c45
Add skips until new Selenium release
aguspe 22637c5
Merge branch 'trunk' into rb_add_network_examples_and_docs
aguspe 96860ba
Fix tests
aguspe 0786987
Merge remote-tracking branch 'origin/rb_add_network_examples_and_docs…
aguspe 430e029
Add guards
aguspe 23a5c31
Fix tests
aguspe 4d030f1
fix rubocop
aguspe 20e882d
remove unnecesary guards
aguspe b38862a
guard windows tests
aguspe 16bf2c6
Correct typo
aguspe 6cc50c9
use skip instead of platform
aguspe ac5d9c6
use skip instead of platform
aguspe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
require 'spec_helper' | ||
|
||
RSpec.describe 'Network', exclusive: {bidi: true, reason: 'only executed when bidi is enabled'}, | ||
only: {browser: %i[chrome edge firefox]} do | ||
let(:driver) { start_bidi_session } | ||
let(:wait) { Selenium::WebDriver::Wait.new(timeout: 2) } | ||
|
||
it 'adds an auth handler', skip: 'Do not execute BiDi test' do | ||
driver.network.add_authentication_handler('test', 'test') | ||
driver.navigate.to url_for('basicAuth') | ||
expect(driver.find_element(tag_name: 'h1').text).to eq('authorized') | ||
end | ||
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.