Method: WatirRobot::Page#page_should_contain_select_list
- Defined in:
- lib/watir_robot/keywords/page.rb
#page_should_contain_select_list(loc) ⇒ Object
Verify select list does exist on page
308 309 310 311 |
# File 'lib/watir_robot/keywords/page.rb', line 308 def page_should_contain_select_list(loc) raise(Exception::ElementDoesNotExist, "The select list described by #{loc} is not contained within the page:\n#{@browser.html}") unless @browser.select(parse_location(loc)).exists? end |