Skip to content

Commit 508f510

Browse files
committed
Fix specs for Ruby 3.0
1 parent d98fc13 commit 508f510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ferrum/network.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def emulate_network_conditions(offline: false, latency: 0,
162162

163163
params[:connectionType] = connection_type if connection_type && ALLOWED_CONNECTION_TYPE.include?(connection_type)
164164

165-
@page.command("Network.emulateNetworkConditions", params)
165+
@page.command("Network.emulateNetworkConditions", **params)
166166
true
167167
end
168168

0 commit comments

Comments
 (0)