Using C# WATIN, how do I get the value of a INPUT tag html element?
- by djangofan
Using C# WATIN, how do I get the value of the second occurence of a INPUT tag html element on a page?
I've tried a whole bunch of things and haven't succeeded. The debugger isn't giving me any obvious way to get element[1] among the 4 that returned.
Console.WriteLine(ie.Element(Find.ByClass("myclass")).GetAttributeValue("value") ) ;
// works…