Skip to content

Commit

Permalink
Fix specs for Ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed May 8, 2022
1 parent d98fc13 commit 508f510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ferrum/network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def emulate_network_conditions(offline: false, latency: 0,

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

@page.command("Network.emulateNetworkConditions", params)
@page.command("Network.emulateNetworkConditions", **params)
true
end

Expand Down

0 comments on commit 508f510

Please sign in to comment.