Launch proxy and disable cache
This commit is contained in:
parent
12b0335fac
commit
085308b313
|
@ -120,8 +120,9 @@ module Arachnid
|
|||
@levels = {} of URI => Int32
|
||||
@max_depth = max_depth
|
||||
|
||||
if browser && !browser.proxy
|
||||
raise "Can't use marionette without a proxy. Make sure the extended option is true."
|
||||
if browser
|
||||
browser.launch_proxy if !browser.proxy
|
||||
browser.disable_cache
|
||||
end
|
||||
|
||||
@sessions = SessionCache.new(
|
||||
|
|
Loading…
Reference in New Issue