# File lib/selenium/client/idiomatic.rb, line 83
 83:       def wait_for(options)
 84:         if options[:wait_for] == :page
 85:           wait_for_page options[:timeout_in_seconds]
 86:               elsif options[:wait_for] == :ajax
 87:                   wait_for_ajax options
 88:               elsif options[:wait_for] == :element
 89:                   wait_for_element options[:element], options
 90:               elsif options[:wait_for] == :no_element
 91:                   wait_for_no_element options[:element], options
 92:               elsif options[:wait_for] == :text
 93:                   wait_for_text options[:text], options
 94:               elsif options[:wait_for] == :no_text
 95:           wait_for_no_text options[:text], options
 96:               elsif options[:wait_for] == :effects
 97:                   wait_for_effects options
 98:         elsif options[:wait_for] == :popup
 99:             wait_for_popup options[:window], options[:timeout_in_seconds]
100:             select_window options[:window] if options[:select]
101:         elsif options[:wait_for] == :value
102:             wait_for_field_value options[:element], options[:value], options
103:         elsif options[:wait_for] == :no_value
104:             wait_for_no_field_value options[:element], options[:value], options
105:         elsif options[:wait_for] == :visible
106:             wait_for_visible options[:element], options
107:         elsif options[:wait_for] == :not_visible
108:             wait_for_not_visible options[:element], options
109:               elsif options[:wait_for] == :condition
110:                   wait_for_condition options[:javascript], options[:timeout_in_seconds]
111:         end
112:       end