# File lib/selenium/client/javascript_expression_builder.rb, line 79 def find_text_in_element(pattern, options) find_element(options[:element]) append "var text_match;\ntext_match = (element != null && \#{text_match(pattern)});\n" self end