title: Open a web page and click a button in VB script
body: <p>I want to open a webpage in internet explorer and navigate to a page and click on a button in the page  using <a href="/questions/tagged/vbscript" class="post-tag" title="show questions tagged 'vbscript'" rel="tag">vbscript</a>.
  For example</p>
  
  <ul>
  <li>i I want to open IE and navigate to "http://www.gmail.com",</li>
  <li>wait for the page to load,</li>
  <li>and fill the username and password into the username and password text boxes and hit the <strong>sign in</strong> button using VB script.</li>
  </ul>
  
  <p>This was the only thing i could find (only to open a page in IE ) :</p>
  
  <pre><code>Set WshShell = WScript.CreateObject("WScript.Shell")
  Return = WshShell.Run("iexplore.exe www.gmail.com", 1) 
  </code></pre>
  
  <p>please help me out.</p>