Currently, I am in the process of developing WatiN tests to evaluate an Ajax web application. However, I have encountered a timing issue with Ajax requests.
My main objective is to ensure that WatiN waits for the Ajax request to be completed before validating whether the page has been updated correctly or not.
I suspect that the solution lies in evaluating JavaScript to set up handlers for $.ajaxStart and $.ajaxComplete to monitor the progress of these requests. While I plan on exploring this further, I am curious to know if anyone else has tackled this issue before. It appears to be a common challenge when testing Ajax functionality.