Added empty invalid_element_errors method. Driver does not inherit from Base driver and was intermittently causing the following error:

undefined method `invalid_element_errors' for #<Capybara::Driver::Webkit:0x...> (NoMethodError)
      (eval):2:in `has_content?'
This commit is contained in:
josephbridgwaterrowe 2012-03-06 14:25:24 -08:00 committed by Matthew Mongeau
parent 646eabc68d
commit 4bf9443b6f
1 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,10 @@ class Capybara::Driver::Webkit
@cookie_jar ||= CookieJar.new(browser)
end
def invalid_element_errors
[]
end
private
def url(path)