Basically the bot opens the emails and then clicks on the link to claim the credits. The links in the emails all have a different code on the end so I need a wild card. I can't just have it click any http:// because it will go to the wrong place or unsubscribe. Hope that makes sense. If not let me know. I have tried $search page, $contains,$exists so far. Trying out some other ideas now. Great learning experience. Appreciate your help so far. So the first image is the email inbox, and the second is the part of the email I need to click on. After the userid= each email has a dif