Permalink
Browse files

Rename to window-handle?

  • Loading branch information...
1 parent 8b345ed commit e5a7870e0a5b1ccc55db6f791674225fae5506b4 @semperos semperos committed Jan 6, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/clj_webdriver/core_driver.clj
  2. +1 −1 src/clj_webdriver/window_handle.clj
@@ -134,7 +134,7 @@
(string? handle) (do
(.window (.switchTo (:webdriver driver)) handle)
driver)
- (is-window-handle? handle) (do
+ (window-handle? handle) (do
(.window (.switchTo (:driver handle)) (:handle handle))
driver)
(number? handle) (do
@@ -8,6 +8,6 @@
[driver handle title url]
(WindowHandle. driver handle title url))
-(defn is-window-handle?
+(defn window-handle?
[handle]
(= (class handle) WindowHandle))

0 comments on commit e5a7870

Please sign in to comment.