I gave this a try, but it has the same effect as Page.Wait, which is that it completes before the page even starts loading in our application (in Chrome only).
Desired flow is:
- click javascript link
- wait for load of target page to be triggered
- wait for browser to finish loading new page
The function I attached is the best way I have found to wait for a page load to begin in Chrome before calling Page.Wait to wait for the browser to finish loading the page. If you have another method of waiting for a page load to start, please let me know.
Thanks,
--Rachel