Module: CapybaraSeleniumExtension

Defined in:
lib/testcentricity_web/web_core/drag_drop_helper.rb

Instance Method Summary collapse

Instance Method Details

#drag_by(right_by, down_by) ⇒ Object



11
12
13
# File 'lib/testcentricity_web/web_core/drag_drop_helper.rb', line 11

def drag_by(right_by, down_by)
  driver.browser.action.drag_and_drop_by(native, right_by, down_by).perform
end