- Defined in:
#drag_and_drop_by(source, right_by, down_by) ⇒
A convenience method that performs click-and-hold at the location of the source element, moves by a given offset, then releases the mouse.
344 345 346 347 348 349 350
# File 'lib/selenium/webdriver/common/action_builder.rb', line 344 def drag_and_drop_by(source, right_by, down_by) click_and_hold source move_by right_by, down_by release self end