I'm trying to figure out how to upload a file via WebBrowser, found this
alternative to code below . I tried for hours but I couldn't make this working. Would someone point out what's wrong with the implementation?
I'm using this (pretty bad, since it requires the application to be on front of all):
HtmlElement file = browser.Document.GetElementById("file");
file.Focus();
SendKeys.Send(filePath + "{ENTER}");