Method: PageObject::Platforms::WatirWebDriver::SelectList#include?
- Defined in:
- lib/page-object/platforms/watir_webdriver/select_list.rb
#include?(value) ⇒ Boolean
Returns true if the select list has one or more options where text or label matches the given value.
59 60 61 |
# File 'lib/page-object/platforms/watir_webdriver/select_list.rb', line 59 def include?(value) element.include? value end |