     [:session (:session @driver) :buttonup]
     nil _))
 
-(defmulti mouse-move-to dispatch-driver)
+(defmulti mouse-move-to
+  "Moves a virtual mouse pointer either to an element
+  or by `x` and `y` offset."
+  dispatch-driver)
 
 (defmethods mouse-move-to [:chrome :phantom :safari]
   ([driver q]

    [:session (:session @driver) :buttondown]
    nil _))

(defmulti mouse-btn-up dispatch-driver)

(defmethods mouse-btn-up [:chrome :phantom :safari]
  [driver]

    [:session (:session @driver) :element el :doubleclick]
    nil _))

(defn double-click
  "Performs double click on an element.

  Note:

  the supported browsers are Chrome and Phantom.js. For Firefox and
  Safari, your may try to simulate it as a `click, wait, click`
  sequence.
"
  [driver q]
  (double-click* driver (query driver q)))

;;
