Method: Selenium::Client::GeneratedDriver#is_text_present
- Defined in:
- lib/selenium/client/legacy_driver.rb
permalink #is_text_present(pattern) ⇒ Object
Verifies that the specified text pattern appears somewhere on the rendered page shown to the user.
‘pattern’ is a pattern to match with the text of the page
1079 1080 1081 |
# File 'lib/selenium/client/legacy_driver.rb', line 1079 def is_text_present(pattern) return boolean_command("isTextPresent", [pattern,]) end |