Skip to content

Commit 5012c85

Browse files
committed
All network tests working
1 parent c7e4bca commit 5012c85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rb/sig/lib/selenium/webdriver/bidi/network.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Selenium
1212

1313
def add_intercept: (?phases: Array[String], ?contexts: BrowsingContext?, ?url_patterns: untyped?) -> Hash[String, String]
1414

15-
def remove_intercept: (String intercept) -> Hash[nil, nil]
15+
def remove_intercept: (String intercept) -> untyped
1616

1717
def continue_with_auth: (String request_id, String username, String password) -> untyped
1818

rb/spec/integration/selenium/webdriver/bidi/network_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class BiDi
3131
reset_driver!(web_socket_url: true) do |driver|
3232
network = described_class.new(driver.bidi)
3333
intercept = network.add_intercept(phases: [described_class::PHASES[:before_request]])
34-
expect(intercept).to_not be_nil
34+
expect(intercept).not_to be_nil
3535
end
3636
end
3737

0 commit comments

Comments
 (0)