[Wtr-general] Newbie Question: Verify and Then Click URL
Zeljko Filipin
zeljko.filipin at gmail.com
Wed Sep 6 06:51:02 EDT 2006
If you have html that looks like
<a href="http://www.openqa.org/watir/">Watir Home Page</a>
you can verify that link that points to "http://www.openqa.org/watir/"
exists with:
ie.link(:url, 'http://www.openqa.org/watir/').exists?
and you can click it with:
ie.link(:url, 'http://www.openqa.org/watir/').click
Željko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060906/79ce88d5/attachment.html
More information about the Wtr-general
mailing list