tessel 3 Posted July 18, 2010 Report Share Posted July 18, 2010 Anyone provide some insight on how to wait for a page to load that contains iframes? It seems that the "wait for" command won't recognize text in iframes (when I select wait for, the text I am looking for is not displayed, I need to right click in the iframe and try wait for again to pick it up but this won't work without user interaction selecting the text first), so is there anyway to change focus so that uBot knows where to look/wait for? I've tried some iframename.focus(); javascript command but didn't get very far as the "wait for" just keeps on waiting and can never seem to spot the text once it has loaded and is displayed. Quote Link to post Share on other sites
IRobot 43 Posted July 18, 2010 Report Share Posted July 18, 2010 Have you tried using a loop, and on each iteration checking whether the text/item can be selected by attribute? Obviously, use a time out and/or counter to prevent an infinite loop. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.