Release element without moving when doing drag&drop
If we call release action with element, it will attempt to move to it
first, which is a problem when draggable and droppable elements already
switched places. In such situation mouse will be moved back and
drag&drop won't be completed.
See for discussion and details.
@@ -319,7 +319,7 @@ module Selenium
def drag_and_drop(source, target)
click_and_hold source
move_to target
- release target
+ release
self
end
