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