Hi all, I have an applescript that does what it's supposed to do. It first logs in to a website in one window, then after 3s delay performs another action in a new window. It works. Although, since loading times can vary, my script might be too fast (and yes, it needs to be as fast as possible). 3 second delays to wait for the page to load is normally enough, but sometimes it's not, in which case everything goes wrong. Using keystrokes, so they would end up in the wrong boxes and so on. I also don't want to wait for the whole page to load, since there are photos that can take forever, causing a real, unnecessary delay. Now, I'd like a piece of script that can look for the text "Xxxxxx" on the confirmation page that loads after this second action. If "Xxxxx" is not found, I'd like the script to be run again. If the text is in fact found, all is well. Using Safari. Grateful for any suggestions!