Skip to content

Instantly share code, notes, and snippets.


Lee Saxby leesaxby

View GitHub Profile
leesaxby / native_js_drag_and_drop_helper.js
Last active Sep 15, 2018 — forked from druska/native_js_drag_and_drop_helper.js
Simulate drag and drop workaround for protractor
View native_js_drag_and_drop_helper.js
Original unmodified code (some changes were required to fit our needs i.e our dnd directive).
The following code is a workaround for
There appears to be a bug with selenium chrome driver where by html5 drag and drop (dnd)
events don't fire when using either:
browser.actions().dragAndDrop(dragElement, dropElement).perform();