I have had some issues with this wait, I don't think it's robust enough. I've done some research into the HTML but it's hard to tell what would be better.