Thank you for your response I preg matched the html to find the value of the href that I wanted. But in the same div there were few href with the same value. To only click on the first one I followed your advise: click($element offset(<a,href="http://{#domain_content}">, 0), "Left Click", "No") Thank you again,