Your code is just right, but you must handle the DocumentCompleted Event.
see, for example
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
webBrowser1.Navigate("http://www.wine-searcher.com/wine-valuation-f.lml");
}
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
webBrowser1.Document.GetElementById("wn1_input").InnerText = "TextToPut";
}
}
hope it helps :)