watir/page-container.rb in watir-1.5.4 vs watir/page-container.rb in watir-1.5.5
- old
+ new
@@ -15,10 +15,10 @@
if m=/HTTP (\d\d\d.*)/.match( self.title )
raise NavigationException, m[1]
end
else
# assume its IE6
- url = self.document.url
+ url = self.document.location.href
if /shdoclc.dll/.match(url)
m = /id=IEText.*?>(.*?)</i.match(self.html)
raise NavigationException, m[1] if m
end
end
\ No newline at end of file