Sha256: fda4eaebd0ba89447fa871b7d04419ca251266c51e828ae37bb2516b271b6465
Contents?: true
Size: 410 Bytes
Versions: 33
Compression:
Stored size: 410 Bytes
Contents
# :nocov: module CapybaraExtension def drag_by(right_by, down_by) base.drag_by(right_by, down_by) end end module CapybaraSeleniumExtension def drag_by(right_by, down_by) driver.browser.action.drag_and_drop_by(native, right_by, down_by).perform end end # :nocov: ::Capybara::Selenium::Node.send :include, CapybaraSeleniumExtension ::Capybara::Node::Element.send :include, CapybaraExtension
Version data entries
33 entries across 33 versions & 1 rubygems