public static TextField textField(this WatiN_IE watinIe, string name) { //watinIe.textFields(); // after some events foreach (var textField in watinIe.textFields()) { if (textField.name() == name || textField.title() == name || textField.id() == name) { return(textField); } } "in WatiN_IE could not find TextField with name:{0}".error(name ?? "[null value]"); return(null); }
public static List <TextField> fields(this WatiN_IE watinIe) { return(watinIe.textFields()); }