Yes, there is.
This would be a kind of "random testing" because, presumably, you don't know where the string that you are searching for is going to show up in the web page, or even if it shows up in the web page at all.
So, if you assume that it IS in the web page, then the eValid script would include a basic
IndexFindElement command that identifies the string that you're looking for Here is the
IndexFindElement Command Description. As you can see, you could search UP or DOWN on the page (from the bottom or from the top). And, you can search for a visible string or something deeper in the DOM for which you only know a property name and value.
Once you have found the string (the first instance of the string), then it is an easy matter to click on it. You simply issue an
IndexElementClick command and eValid will send an element click event to the DOM element at which you find a string match.
And, if there is no match, then the eValid script will ERROR out with a failure to find, and you're safe that way as well.
eValid Support