From a4fed44199aef1eaca04edefc5aa8afe703ea40e Mon Sep 17 00:00:00 2001 From: Jan Biedermann Date: Sat, 15 Jan 2022 10:33:37 +0100 Subject: [PATCH] fix arg --- lib/puppeteer/network_manager.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppeteer/network_manager.rb b/lib/puppeteer/network_manager.rb index 544e93c1..dc2c1dc9 100644 --- a/lib/puppeteer/network_manager.rb +++ b/lib/puppeteer/network_manager.rb @@ -367,7 +367,7 @@ def request_interception=(enabled) unless extra_info # Wait until we get the corresponding ExtraInfo event. - @network_event_manager.enqueue_event_group(event['requestId'], QueuedEventGroup.new(event)) + @network_event_manager.enqueue_event_group(event['requestId'], QueuedEventGroup.new(response_received_event: event)) return end end