|Using Selenium to test asynchronous calls
||19 Feb 06
>Luckily, Selenium has a feature that is horribly documented: waitForValue,
>which you can use in the test case directly, and waitForCondition,
>you can make your Ajax call and wait for any condition that should happen,
>such as the DOM changing or values updating.