title: Clicking specific Co-Ordinates of a site using GetElementFromPoint
body: <p>I'm trying to automate a click process using vb.net and logging into a specific site.</p>
  
  <p>My current issue is that the input fields and login button do not have id's nor a class and because I can't find a working way of modifying their values or invoking a click I'm taking the brute route of using co-ordinates and invoking a click on the co-ordinates.</p>
  
  <pre><code>    Dim NewPoint As New Point(71, 386)
      Dim ele As HtmlElement = Form2.WebBrowser1.Document.GetElementFromPoint(NewPoint)
      ele.InvokeMember("click")
  </code></pre>
  
  <p>I have gotten those specific co-ordinates using a timer and a calculation to calculate the true x and y of the site </p>
  
  <pre><code>    lbl_mousex.Text = "Mouse Position X:" &amp; MousePosition.X - Form2.WebBrowser1.Location.X - 8
      lbl_mousey.Text = "Mouse Position y:" &amp; MousePosition.Y - Form2.WebBrowser1.Location.Y - 29
  </code></pre>
  
  <p>But even after this it's not invoking the click at all. </p>
  
  <p>I'm slowly running out of ideas and I can't figure out why it's not working.</p>