Public Vars

Back

drag-and-drop (clj)

(source)

multimethod

(drag-and-drop driver q-from q-to)
Have `driver` perform a drag and drop from element found by `q-from` to element found by `q-to`: 1. moves mouse pointer to an element found with `q-from` query; 2. holds down the mouse button; 3. moves mouse to an element found with `q-to` query; 4. releases the mouse button. See [[query]] for details on `q-from`, `q-to`. Notes: - does not work in Phantom.js since it does not have a virtual mouse API; - does not work in Safari.

Examples