Function for setting default values of controls in web browser control-Collection of common programming errors

I write an Example For You: Fist Navigate to your address or set its DocumentText.

 private void Form1_Load(object sender, EventArgs e)
        {
             webBrowser1.DocumentText = "Some Things";
        }

when your page loaded you can get its element.

 private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
         webBrowser1.Document.GetElementById("Name").InnerText="Some Thing";
        }