   (-> server
       (api :post
            [:session (session-id session) :actions] ;; :data ;; id
-           {:actions [{:type "none" :id "foo" :actions [{:type "pause" :value "R"}
-                                                        ]}]})))
+           {:actions [{:type "pointer" :actions [{:type "pointerDown" :button 123}]}]})))
 
 ;; todo doesn't work
 (defn release-actions [server session]

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

;; todo doesn't work
(defn get-window-rect [server session]
  "https://www.w3.org/TR/webdriver/#dfn-get-window-rect"
  (-> server
      (api :get [:session (session-id session) :window :size])))

;; todo doesn't work
(defn 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}))

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

;; todo doesn't work
(defn fullscreen-window [server session]
  "https://www.w3.org/TR/webdriver/#dfn-fullscreen-window"
  (api server :post
       [:session (session-id session) :window :fullscreen]))

  (-> 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"
