[Wtr-general] verify html list and that that list isin sequentialorder

Michael Bolton mb at michaelbolton.net
Thu Aug 17 10:42:13 EDT 2006


>> r = /<UL>\s*<LI>HINCKLEY<\/LI>\s*<LI>HINDHEAD<\/LI>\s*<LI>HINTON ST
>> GEORGE<\/LI>\s*<\/UL>/

>How would I get to the source to use this RegEx?

ie = Watir::IE.start("http://www.adrians_test_page.html")
offset_of_list_in_page = (ie.html =~ r)

---Michael B.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 1462 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060817/94e489ba/attachment.bin 


More information about the Wtr-general mailing list