require 'watir'
ie = Watir::IE.start("http://www.sbpoet.com/2006/01/how_far_would_y.html")
while link = ie.link(:text, /(blond)|(joke)|(this one is great)|(>CLICK<)/)
link.focus
link.click
end
Personally I don't find it THAT great, but like Steve Boswell always says, "I digress".
3 comments:
Nice. Great joke. :-)
I don't get it. I think I found an endless loop bug, though.
---Michael B. (surprisingly: brown hair, balding)
It took me two clicks, then I had a good laugh. =)
Post a Comment