Exemple #1
0
 public static WatiN.Core.CheckBox checkBox(this WatiN_IE watinIe, string name)
 {
     //watinIe.textFields();   // after some events
     foreach (var checkBox in watinIe.checkBoxes())
     {
         if (checkBox.id() == name) // || checkBox.title() == name)
         {
             return(checkBox);
         }
     }
     "in WatiN_IE could not find CheckBox with name:{0}".error(name ?? "[null value]");
     return(null);
 }