Tag Archives: ajax

Selenium Webdrvier – Wait jQuery Ajax Request Complete in Python

if you have a jQuery Ajax request in your test web page, you should wait to request to complete. Otherwise, unexpected behaviours can occur. in Selenium Webdriver, we can perform by Javascript running function: execute_script() jQuery provide a parameter to check request status. “active” is one of jQuery library. if value is 1 it means… Read More »

Selenium IDE – Check jQuery Ajax Request Complete

If there is any ajax process in your page that you test, it’s better to wait for ajax request is complete. Otherwise, your next step can fail. if you do your test with Selenium IDE, you can use waitForCondition command. Target is: selenium.browserbot.getUserWindow().$.active == 0 Value: Timeout duration in milisecond. to wait max 30 seconds… Read More »