Method: RWebUnit::Assert#assert_button_present_with_text
- Defined in:
- lib/rwebunit/assert.rb
#assert_button_present_with_text(button_text) ⇒ Object
228 229 230 231 232 233 |
# File 'lib/rwebunit/assert.rb', line 228 def () @web_browser..each { || return if == .value } assert(false, "can't find the button with text: #{button_text}") end |