예제 #1
0
 public static SelectList selectList(this WatiN_IE watinIe, string name)
 {
     foreach (var selectList in watinIe.selectLists())
     {
         if (selectList.id() == name)
         {
             return(selectList);
         }
     }
     "in WatiN_IE could not find SelectList with name:{0}".error(name ?? "[null value]");
     return(null);
 }