Method: ButtonHelper#exists_button?
- Defined in:
- lib/watir_helper/button_helper.rb
#exists_button?(browser_handle, property, property_value) ⇒ Boolean
Check whether a button exists or not.
34 35 36 |
# File 'lib/watir_helper/button_helper.rb', line 34 def (browser_handle, property, property_value) browser_handle.(property.intern, /#{property_value}/).exists? end |