This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Correctly use parameters instead of *driver* in both arities

  • Loading branch information...
1 parent 4bb7c29 commit 6f360db5655ba52f17e2812d70323a77aa296daa @semperos committed Nov 4, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/clj_webdriver/taxi.clj
@@ -1458,22 +1458,22 @@
(defn accept
"Accept an alert popup dialog. Equivalent to pressing its 'Ok' button."
([] (accept *driver*))
- ([driver] (core/accept *driver*)))
+ ([driver] (core/accept driver)))
(defn alert-obj
"Retrieve the underlying Java object used to identify an alert popup dialog. Exposed to allow you to use methods not yet exposed via clj-webdriver's API's."
([] (alert-obj *driver*))
- ([driver] (core/alert-obj *driver*)))
+ ([driver] (core/alert-obj driver)))
(defn alert-text
"Get the text of the alert popup dialog's message."
([] (alert-text *driver*))
- ([driver] (core/alert-text *driver*)))
+ ([driver] (core/alert-text driver)))
(defn dismiss
"Dismiss the alert popup dialog. Equivalent to pressing its 'Cancel' button."
([] (dismiss *driver*))
- ([driver] (core/dismiss *driver*)))
+ ([driver] (core/dismiss driver)))
(defn window-position
"Get the position of the top-left corner of the browser's window relative to the top-left corner of your primary display, returned as a map of `:x` and `:y` integers.

0 comments on commit 6f360db

Please sign in to comment.