just_add_watir | Advanced recipes for Watir
7Aug/08Off

Q. How do I click a radio button?

A. Use the .radio in conjunction with .set
Example html:

<html>
   <body>
      <input type="radio" name="group1" value="Watir"> Watir<br />
  </body>
</html>

Example watir:

@b.radio(:name,"group1").set
Tagged as: , No Comments