Check Ajax Call Status

We will use JQuery to check ajax status . So if JQuery is not included in your web page, inject JQuery into your page using following code:

/** dynamically load jQuery */
public static void injectJQuery(WebDriver driver){
String LoadJQuery =
Read the rest

Handle Ajax Elements

To properly handle Ajax elements, we need to understand:

  • What triggers the Ajax call?
    So that we know WHEN we shall start to address ajax
  • What elements are affected by the call?
    So that we know WHAT elements that we
Read the rest

Ajax: The Most Wanted

Your test scripts are failing randomly every time they run? You see a lot of StaleElementReferenceExceptions in your console log? A lot of ElementNotFoundExceptions? A lot of pressure from your boss?

Well, most likely, Ajax is responsible for all of … Read the rest