Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Stop returning {:webelement nil}
Browse files Browse the repository at this point in the history
  • Loading branch information
semperos committed Feb 10, 2013
1 parent b19d14f commit 39b6287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj_webdriver/core_driver.clj
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
els (.findElements (:webdriver driver) by-value)] els (.findElements (:webdriver driver) by-value)]
(if (seq els) (if (seq els)
(lazy-seq (map init-element els)) (lazy-seq (map init-element els))
(lazy-seq (map init-element [nil]))))) (lazy-seq nil))))


(find-windows [driver attr-val] (find-windows [driver attr-val]
(if (contains? attr-val :index) (if (contains? attr-val :index)
Expand Down

0 comments on commit 39b6287

Please sign in to comment.