verifyText and verifyElementPresent do not timeout


#1

My use case is to document.href.reload() a page, wait for it to load, then check for the existence of text. I have tried to use both verifyText and verifyElementPresent. Both work when the element is present, but both do not timeout if the element is not present. I have manually set !TIMEOUT_WAIT to 1000 so it should fail, then move on. However, both commands do not timeout, rather they both wait and wait, and wait…until I must manually stop the macro.


#2

Hi, do you have a test macro for this issue?


#3

Not anymore, I removed those attempted steps and added a workaround gotoIf | window.document.querySelector(’[my selector here]’)!==null