Tuesday, June 03, 2008 12:37 PM
by
rogerguess
WatiN SelectList Name
WatiN does not currently expose the name property of a select list. However, there is still a way to get at it if you have the element that represents it with a reference to Microsoft.mshtml:
foreach (Element element in ie.Elements)
{
string name = (((mshtml.HTMLSelectElementClass) (element.HTMLElement))).IHTMLSelectElement_name;
}