Method: RWebUnit::Assert#assert_button_present
- Defined in:
- lib/rwebunit/assert.rb
#assert_button_present(button_id) ⇒ Object
221 222 223 224 225 226 |
# File 'lib/rwebunit/assert.rb', line 221 def () @web_browser..each { || return if == .id } assert(false, "can't find the button with id: #{button_id}") end |