Permalink
Browse files

fix Watir::IE#close_all

  • Loading branch information...
1 parent 60f23e2 commit e640bfa64aae7f9bd03ff0cb7f6cfeb2a1ce788e @jarmo jarmo committed Mar 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 watir/lib/watir/close_all.rb
@@ -23,9 +23,9 @@ def self.close_all_but(except=nil)
# to appear and does not raise exception if no window is found.
# returns true if modal was found and close, otherwise false
def close_modal
- while self.modal_dialog.exists?(0) do
+ while self.modal_dialog.exists? do
self.modal_dialog.close
end
end
end
-end
+end

0 comments on commit e640bfa

Please sign in to comment.