watir/ie.rb in watir-1.5.4 vs watir/ie.rb in watir-1.5.5
- old
+ new
@@ -55,11 +55,11 @@
REVISION_STRING = '$Revision: 1263 $'
REVISION_STRING.scan(/Revision: (\d*)/)
REVISION = $1 or 'unknown'
# The Release number
- VERSION_SHORT = '1.5.4'
+ VERSION_SHORT = '1.5.5'
VERSION = VERSION_SHORT + '.' + REVISION
# Used internally to determine when IE has finished loading a page
READYSTATE_COMPLETE = 4
@@ -490,10 +490,10 @@
while doc = documents_to_wait_for.shift
begin
until doc.readyState == "complete" do
sleep a_moment
end
- @url_list << doc.url unless @url_list.include?(doc.url)
+ @url_list << doc.location.href unless @url_list.include?(doc.location.href)
doc.frames.length.times do |n|
begin
documents_to_wait_for << doc.frames[n.to_s].document
rescue WIN32OLERuntimeError
end
\ No newline at end of file