 
 (defmethod set-window-position* :firefox
   ([driver x y]
-   (with-resp driver :post
-     [:session (:session @driver) :window :position]
-     {:x x :y y} _)))
+   (execute {:driver driver
+             :method :post
+             :path [:session (:session @driver) :window :position]
+             :data {:x x :y y}})))
 
 (defmethod set-window-position* :default
   ([driver x y]
    (let [h (get-window-handle driver)]
-     (with-resp driver :post
-       [:session (:session @driver) :window h :position]
-       {:x x :y y} _))))
+     (execute {:driver driver
+               :method :post
+               :path [:session (:session @driver) :window h :position]
+               :data {:x x :y y}
+               }))))
 
 (defn set-window-position
   "Sets new position for a window. Absolute precision is not

;;

(defn click-el [driver el]
  (with-resp driver :post
    [:session (:session @driver) :element el :click]
    nil _))

(defn click
  "Clicks on an element (a link, a button, etc)."

  Example:

  (def driver (firefox))
  (println (execute {:driver driver 
                     :method :get
                     :path [:session (:session @driver) :element :active])))
  "
  [{:keys [driver method path data result]}]
  (client/call driver method path data))

;;
;; session and status
