How to wait until an item appears?

I want my Selenium IDE test test to wait 10 seconds for the id = "successed" element to appear, and fail the test if this does not happen within 10 seconds

Here is what I wrote:

Selenium.prototype.doWaitForElementIdToAppear = function(){ selenium.doWaitForCondition("selenium.assertElementNotPresent(\"id=successed\")", "10000"); } 

... but he never fails. Any help would be appreciated.

+5
source share
1 answer

Solved this way using the Selenium in-build function

Selenium IDE - this is working

+7
source

Source: https://habr.com/ru/post/1204562/


All Articles