Scanning page for word/sentence?

I want to pause a macro until a certain word or sentence is present, for example on a website. Is this the right way to do it?
image