   (-> server
       (api :post
            [:session (session-id session) :element element :click])))
+
+(defn element-tap [server session element]
+  "https://www.w3.org/TR/webdriver/#dfn-is-element-enabled"
+  (-> server
+      (api :post
+           [:session (session-id session) :element element :tap])))
 
 (defn element-clear [server session element]
   "https://www.w3.org/TR/webdriver/#dfn-element-clear"

;; todo http timeout
;; global param names
;; client module?
;;

;;

;; Switch To Parent Frame
;; https://www.w3.org/TR/webdriver/#dfn-switch-to-parent-frame

(defn get-window-size [server session]
  (-> server
      (api :get [:session (session-id session) :window :size])))

(defn set-window-size [server session width height]
  (-> server
      (api :post [:session (session-id session) :window :size]
           {:width width :height height})))

(defn set-window-position [server session x y]
  (-> server
      (api :post [:session (session-id session) :window :position]
           {:x x :y y})))

(defn ^:not-implemented
  get-window-rect [server session]
  "https://www.w3.org/TR/webdriver/#dfn-get-window-rect"
  (-> server
      (api :get [:session (session-id session) :window :rect])))

(defn ^:not-implemented
  set-window-rect [server session x y width height]
  "https://www.w3.org/TR/webdriver/#dfn-set-window-rect"
  (api :post
       [:session (session-id session) :window :rect]
       {:x x :y y :width width :height height}))

(defn maximize-window [server session]
  "https://www.w3.org/TR/webdriver/#dfn-maximize-window"
  (api server :post
       [:session (session-id session) :window :maximize]))

(defn ^:not-implemented
  fullscreen-window [server session]
  "https://www.w3.org/TR/webdriver/#dfn-fullscreen-window"
  (api server :post
       [:session (session-id session) :window :fullscreen]))
