Method: Celerity::Element#exists
- Defined in:
- lib/celerity/watir_compatibility.rb
#exists ⇒ true, false
Checks if the element exists.
35 36 37 38 39 40 |
# File 'lib/celerity/watir_compatibility.rb', line 35 def exists? assert_exists true rescue UnknownObjectException, UnknownFrameException false end |