title: getelement by class name for clicking
body: <p>I am creating a windows form in VB.NET with web browser control, but not able to click on the below code.</p>
  
  <p><code>&lt;input type="Submit" class="btn btnSearch bold include_WidthButton" value="Search"&gt;</code></p>
  
  <p>I can click when it is get element by ID, but not by classname. Please help me so much of googling didn't help me.</p>
  
  <p>This is what I tried:</p>
  
  <pre><code>For Each Element As HtmlElement In WebBrowser1.Document.GetElementsByTagName("btn btnSearch bold include_WidthButton")
      If Element.OuterHtml.Contains("btn btnSearch bold include_WidthButton") Then
          Element.InvokeMember("click")
      End If
  Exit For
  </code></pre>