I've got this little collection of all the Inputs on the loaded site. The program searches for a text input that is specified by a list of html names
GeckoElementCollection _Ellements = geckoWebBrowser1.Document.GetElementsByTagName("input");
The Problem is that it wont fill the textbox
foreach (GeckoElement _e in _Ellements)
{
if (_e.GetAttribute("value") == "username")
{
_e.SetAttribute("selected", "Username Here");
}
}
Please help me I've been trying to fix this for ages