10.23.07
Watir 1.5.3 Released
Bug fixes and minor cleanup.
Read more at Watir wiki.
The only exhaustive testing there is is so much testing that the tester is exhausted. - William C. Hetzel
I have ported Support for XPATH in Watir by Angrez Singh to wiki format. Take a look: XPath Support.
I was trying example from What to do for elements not having class in Watir section and for this HTML:
Watir always returned nil:
I asked Angrez am I doing something wrong and he replied to check if generated HTML (that is rendered in the browser) is the same as source HTML.
Brilliant!
There seems to be a bug in Internet Explorer 7 (IE). If you create HTML file with above HTML (only that code, do not add anything else) IE puts map tag inside head tag.
Firefox 2 puts it inside body tag, of course.
The workaround is to put map tag explicitly inside body tag.