title: How to invoke onchange, onblur events of a DOM element inside WPF WebBrowser
body: <p>I've tried a lot to find a solution of invoking DOM events of the loaded document of WPF WebBrowser. Here's a code to invoke click event-</p>
  
  <pre><code>mshtml.IHTMLDocument2 htmlDoc = webBrowser.Document as mshtml.IHTMLDocument2;
  htmlDoc.all.item("testBtn").click();
  </code></pre>
  
  <p>Ref: <a href="https://stackoverflow.com/questions/12950413/accessing-dom-from-webbrowser/12963485#12963485">Accessing DOM from WebBrowser</a></p>
  
  <p>But onchange, onblur events are a bit different and do not work in this way. I found another solution- i.e. hosting WinForm WebBrowser control into WPF window, because it is possible in that control. If there's a way to do it on WPF WebBrowser then why will I go for a workaround! So is there any solution?</p>