I was trying to work out how to wait for AJAX calls to complete in C# WebDriver before continuing a test.
I wrapped this into a WebDriver extension method on Driver, so you can call it like this:
Driver.FindElement(By.Id("name")).Set("Alister"); Driver.WaitForAjax(); Driver.FindElement(By.Id("next")).Click();
The actual extension method looks like this:
I hope you find this helpful if you’re ever in the same situation.