How can i check an element again and again?



  • I want to check an element, which is randomly (sometimes 3 secs later sometimes 20 secs later...) popping up. Is there a way to check such elements while the script is already running?



  • You can, for example, firstly check "Is element exist",
    and after that use "wait for element" if its not exist.

    Or you can simply "wait" for max seconds - in your
    case 20 sec or whatever max waiting time is needed.

    Or you can create a loop that checks for element
    until element shows on the page.


Log in to reply