lib/capybara/poltergeist/browser.rb in poltergeist-1.8.1 vs lib/capybara/poltergeist/browser.rb in poltergeist-1.9.0

- old
+ new

@@ -322,9 +322,13 @@ Array(names).each do |name| command 'add_extension', name end end + def url_whitelist=(whitelist) + command 'set_url_whitelist', *whitelist + end + def url_blacklist=(blacklist) command 'set_url_blacklist', *blacklist end def debug=(val)