Reputation: 744
I want my Selenium IDE case test to wait 10 secs for the element id = "successed" to appear, and fail the test if it won't happen within 10 secs
This is what I wrote;
Selenium.prototype.doWaitForElementIdToAppear = function(){
selenium.doWaitForCondition("selenium.assertElementNotPresent(\"id=successed\")", "10000");
}
...but it never fails. Any help will be appreciated.
Upvotes: 5
Views: 5426