diff --git a/lib/ferrum/network/exchange.rb b/lib/ferrum/network/exchange.rb index a4bc60cf..3cb0cf47 100644 --- a/lib/ferrum/network/exchange.rb +++ b/lib/ferrum/network/exchange.rb @@ -51,7 +51,7 @@ def initialize(page, id) # @return [Boolean] # def navigation_request?(frame_id) - request.type?(:document) && request&.frame_id == frame_id + request&.type?(:document) && request&.frame_id == frame_id end #