Sha256: 10299d7bbb0644c82f3b082d46ef113df179e0a00933fe05d1e33396ce802618
Contents?: true
Size: 474 Bytes
Versions: 2
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true class Capybara::Selenium::ChromeNode < Capybara::Selenium::Node def set_file(value) # rubocop:disable Naming/AccessorMethodName super(value) rescue ::Selenium::WebDriver::Error::ExpectedError => e if e.message =~ /File not found : .+\n.+/m raise ArgumentError, "Selenium < 3.14 with remote Chrome doesn't support multiple file upload" end raise end private def bridge driver.browser.send(:bridge) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capybara-3.5.1 | lib/capybara/selenium/nodes/chrome_node.rb |
capybara-3.5.0 | lib/capybara/selenium/nodes/chrome_node.rb |