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

Stop returning {:webelement nil}

  • Loading branch information...
semperos committed Feb 10, 2013
1 parent b19d14f commit 39b62878fd2d4942d4dbb419b0a8d3412d2647f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clj_webdriver/core_driver.clj
@@ -224,7 +224,7 @@
els (.findElements (:webdriver driver) by-value)]
(if (seq els)
(lazy-seq (map init-element els))
- (lazy-seq (map init-element [nil])))))
+ (lazy-seq nil))))
(find-windows [driver attr-val]
(if (contains? attr-val :index)

0 comments on commit 39b6287

Please sign in to comment.