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