Sha256: 9baf71cb024c40429dfef3b0cf8c885a7e3407e904035920d491643ce438035f
Contents?: true
Size: 413 Bytes
Versions: 28
Compression:
Stored size: 413 Bytes
Contents
# details are here http://carol-nichols.com/2011/07/seleniumwebdrivererrorunhandlederror-ns_error_illegal_value/ class Capybara::Selenium::Driver def find(selector) browser.find_elements(:xpath, selector).map { |node| Capybara::Selenium::Node.new(self, node) } rescue Selenium::WebDriver::Error::InvalidSelectorError => e e.message =~ /nsIDOMXPathEvaluator.createNSResolver/ ? retry : raise end end
Version data entries
28 entries across 28 versions & 1 rubygems