lib/page-object/platforms/watir/page_object.rb
#
# platform method to get the currently selected value from a select list
# See PageObject::Accessors#select_list
#
platform method to get the currently selected value from a select list
See PageObject::Accessors#select_list
platform method to get the currently selected value from a select list See PageObject :: Accessors#select_list
def select_list_value_for(identifier)
          options = find_watir_elements("select_list(identifier).selected_options",
                             Elements::SelectList, identifier)
          return nil if options.empty?
          options.first.text
        end
def select_list_value_for ( identifier ) options = find_watir_elements ( "select_list(identifier).selected_options" , Elements :: SelectList , identifier ) return nil if options . empty? options . first . text end
platform method to get the currently selected value from a select list
See PageObject::Accessors#select_list
platform method to get the currently selected value from a select list See PageObject :: Accessors#select_list
identifier