                 :path [:session (:session @driver) :element el :rect]})
       (select-keys [:x :y])))
 
-(defn get-element-location [driver q]
+(defn get-element-location
   "Returns an element location on a page as a map with :x and :x keys."
+  [driver q]
   (get-element-location-el driver (query driver q)))
 
 ;;

(defn supports-logs?
  "Checks whether a driver supports getting console logs."
  [driver]
  (implemented? driver get-logs))


(defn- dump-logs

    (or (:sessionId result)               ;; default
        (:sessionId (:value result)))))   ;; firefox

(defn delete-session
  "Deletes a session. Closes a browser window."
  [driver]
  (execute {:driver driver
            :method :delete
            :path [:session (:session @driver)]}))
