Here's a good example:
For the full macro where it is used, see: MACRO: Pause Until Web Page Element Exists [Example]
For more information, see the wiki Searching the Forum for Answers section.