2

I'm using the selenium ide to create test cases.

Will the "AndWait" commands wait for an ajax operation to complete? Is there a specific command that can help with this?

I prefer to use the selenium ide to create the tests as much as possible, I've seen How do you wait for jQuery Ajax calls to complete in Selenium 2 which is similar to what I'm asking but I'm not using c# at this point.

1 Answers1

2

Explicit and Implicit Waits

  • wait.until(condition)
  • waitForElementPresent(locator)
  • driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

More information here: Advanced Webdriver Usage with "implicit waits"

Kate Paulk
  • 31,513
  • 8
  • 54
  • 108
Jens A. Koch
  • 166
  • 1
  • 6