Hi,
There are different stages of "page loaded completely". The first stage involves of loading the main document and is the equivalent of body.load event. This is what LoadUrlAndWait satisfies. By the time LoadUrlAndWait returns, the main document has already been completely loaded/parsed.
However this does not mean your page is already fully functioning. Particularly your page can have additional JavaScript code that is still running. As a simple example, your main page could contains JavaScript code that plays a fancy animation before finally displaying the login user name/password box to the user. So while the page is technically "loaded completely" as long as the initial page (which contains the JavaScript code that does the animation and dynamically display the login UI) is loaded, the page is not ready to interact with user until the fancy animation is done playing and the login UI is finally displayed. Another common scenario is the initial page only contains some dynamic loading script which then calls back to the server through AJAX to load additional information. In this case the page is not fully functioning until these additional AJAX calls are completed.
These scenarios have to do with your page and there is no generic method to capture when the page is really ready. As such you will have to look into your page to see if you can identify what mechanism you can use to determine whether the page is ready. We only provide the basic means for you to do so. There are a couple of things that you may find useful:
1. WebView.JSInitCode. This property allows you to inject your own JavaScript code into the page to be loaded;
2. WebView.EvalScript. This allows you to run any script code in the page. The difference between this one and #1 is the script code in #1 is run BEFORE any other JavaScript code in the page;
3. JavaScript extension:
https://www.essentialobjects.com/doc/webbrowser/advanced/jsext.aspxThis feature allows you to call back into .NET from JavaScript (the opposite direction of EvalScript);
You can use a combination of these features to implement whatever mechanism that will work for your particular page.
Hope this helps. Please feel free to let us know if you have any more questions.
Thanks!