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

Merge pull request #93 from marshallbrekka/master

Fix taxi/elements to always return a seq of elements, even when its argument is a single element-like
  • Loading branch information...
semperos committed Feb 1, 2013
2 parents f8e535a + 35cdec5 commit 8ba9424b35691d4a61f5a8adecc9ac8967a3b133
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj_webdriver/taxi.clj
@@ -230,7 +230,7 @@
([q] (elements *driver* q))
([driver q]
(if (element-like? q)
- q
+ (lazy-seq (list q))
(*finder-fn* driver q))))
;; ## Driver functions ##

0 comments on commit 8ba9424

Please sign in to comment.