# File lib/webrat/selenium/selenium_session.rb, line 108 def select(option_text, options = {}) id_or_name_or_label = options[:from] if id_or_name_or_label select_locator = "webrat=#{id_or_name_or_label}" else select_locator = "webratselectwithoption=#{option_text}" end selenium.wait_for_element select_locator, :timeout_in_seconds => 5 selenium.select(select_locator, option_text) end