lib/puppeteer/target.rb in puppeteer-ruby-0.43.0 vs lib/puppeteer/target.rb in puppeteer-ruby-0.43.1
- old
+ new
@@ -91,19 +91,19 @@
def session
@session
end
def create_cdp_session
- @session_factory.call
+ @session_factory.call(false)
end
def target_manager
@target_manager
end
def page
if @is_page_target_callback.call(@target_info) && @page.nil?
- client = @session || @session_factory.call
+ client = @session || @session_factory.call(true)
@page = Puppeteer::Page.create(client, self, @ignore_https_errors, @default_viewport)
end
@page
end