Launch proxy and disable cache

This commit is contained in:
Chris Watson 2019-08-21 14:39:26 -07:00
parent 12b0335fac
commit 085308b313
1 changed files with 3 additions and 2 deletions

View File

@ -120,8 +120,9 @@ module Arachnid
@levels = {} of URI => Int32 @levels = {} of URI => Int32
@max_depth = max_depth @max_depth = max_depth
if browser && !browser.proxy if browser
raise "Can't use marionette without a proxy. Make sure the extended option is true." browser.launch_proxy if !browser.proxy
browser.disable_cache
end end
@sessions = SessionCache.new( @sessions = SessionCache.new(