lib/watir-webdriver/window_switching.rb in watir-webdriver-0.3.5 vs lib/watir-webdriver/window_switching.rb in watir-webdriver-0.3.6

- old
+ new

@@ -58,10 +58,15 @@ handle true rescue Exception::NoMatchingWindowFoundException false end - alias_method :present?, :exists? # for Wait::EventuallyPresent + + def present? + @handle = nil # relocate + + exists? + end def ==(other) return false unless other.kind_of?(self.class) handle == other.handle