waitForCondition

Tags: 

This is useful for testing AJAX elements have returned:

<tr>
    <td>waitForCondition</td>
    <td>var value = selenium.getText("//textarea[@name='comment']"); value == "" </td>
    <td>10000</td>
</tr>

Basically the syntax indicates that the script will wait for the conditin to return true. Provide the locator and value, and you're all set.