title: How to handle webbrowser dialogboxes programatically
body: <p>I need to click on "OK" button of the dialog box programatically which appears when I click on a button of a website in webbrowser control of vb.net. But when that box appears everyting is getting out of my control, I can not do anyting.</p>
  
  <p><img src="https://i.stack.imgur.com/C1gcJ.png" alt="enter image description here"></p>
  
  <pre><code>&lt;input type="submit" name="ctl00$ContentPlaceHolder1$FormView1$btnApprove" value="Onayla" onclick="return confirm('Bu kişi sisteme kayıt edilecektir. Devam etmek istiyor musunuz?');" id="ctl00_ContentPlaceHolder1_FormView1_btnApprove" style="width:100%;" /&gt;
  </code></pre>
  
  <p>Do you have any idea how to click any of these buttons ?</p>