Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweak log statements and change function name for driver?

  • Loading branch information...
commit 6ced347ab289d3348eb1fc54349065ede51383be 1 parent e315cb9
@semperos semperos authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/clj_webdriver/cache.clj
  2. +1 −1  src/clj_webdriver/driver.clj
4 src/clj_webdriver/cache.clj
@@ -91,7 +91,7 @@
(vector? raw-query) {:query raw-query}
(keyword? raw-query) {:query [raw-query]}
:else raw-query)]
- (log/info (str "Inserting " query " entry into cache."))
+ (log/info (str "[x] Inserting " query " entry into cache."))
(swap! (get-cache driver) assoc query value)))
(retrieve [driver raw-query]
@@ -99,7 +99,7 @@
(vector? raw-query) {:query raw-query}
(keyword? raw-query) {:query [raw-query]}
:else raw-query)]
- (log/info (str "Retrieving " query " entry from cache."))
+ (log/info (str "[x] Retrieving " query " entry from cache."))
(get @(get-cache driver) query)))
(cache-url [driver]
2  src/clj_webdriver/driver.clj
@@ -28,7 +28,7 @@
(Driver. webdriver
(assoc cache-spec :cache (init-cache cache-spec))))))
-(defn is-driver?
+(defn driver?
"Function to check class of a Driver, to prevent needing to import it"
(= (class driver) Driver))
Please sign in to comment.
Something went wrong with that request. Please try again.