How can I get selenium to wait for something like a calendar widget to load? Right now I am just doing a Thread.sleep(2500)
after exporting the testcase to a junit program.
views:
110answers:
1
+2
A:
I would use
waitForElementPresent(locator)
This will wait until the element is present in the DOM.
If you need to check the element is visible, you may be better using
waitForElementHeight(locator)
Neil Aitken
2010-05-14 15:15:26