links page
This page is used to test links.
These links use images

# Here is the HTML code for this image link:
<a class="radios" href="/radios.php"><img src="images/radios.jpg" name="apple" width="10%" height="10%"></a>
# There are several ways of accessing this link
browser.div(:id, "image").image(:index, 1).click - because this is the 1st div image
browser.image(:src, "images/radios.jpg").click
browser.image(:name, "apple").click

# Here is the HTML code for this image link:
<a class="radios" href="/checkboxes.php"><img src="images/checkbox.jpg" width="10%" height="10%"></a>
# There are several ways of accessing this link
browser.div(:id, "image").image(:index, 2).click - because this is the 2nd div image
browser.image(:src, "images/checkbox.jpg").click
# this image hasnt got a name


These links use text
radios page
RubyWatir site
# Here is the HTML code for this text link:Checkbox page
<a class="radios" href="/radios.php">radios page</a>
# There are several ways of accessing this link
browser.div(:id, "text").link(:index, 1).click - because this is the 1st div link
browser.link(:href, "/radios.jpg").click
# this link has got a class, its the only one with a class
browser.div(:id, "text").link(:class, "radios").click
# Here is the HTML code for this text link:maths page
<a href="/checkboxes.php">Checkbox page</a>
# There are several ways of accessing this link
browser.div(:id, "text").link(:index, 2).click - because this is the 2nd div link
browser.link(:href, "/checkboxes.jpg").click - if its url is unique
# this link hasnt got a class
RubyWatir site