lib/taza/site.rb in taza-0.9.1.2 vs lib/taza/site.rb in taza-0.9.2.0
- old
+ new
@@ -58,10 +58,10 @@
@browser = params[:browser]
else
@browser = Browser.create(config)
@i_created_browser = true
end
- @browser.goto(params[:url] || config[:url])
+ @browser.goto(params[:url] || config[:url]) unless params[:url] == false
execute_block_and_close_browser(browser,&block) if block_given?
end
def execute_block_and_close_browser(browser)
begin