I've just stumbled upon a typo in this method. When dispatching to find_element, it should pass $link_text, not $text. (Alternatively rename the argument from link_text to text.)
Log in to post a comment.