Note: During playback, if any action invokes an AJAX request, the
subsequent action is performed only after the request is completed. If the
AJAX request completion time is more than the script playback timeout value,
use the waitforExistence() method for the Document control.