I am trying to get familiar with the new ruby selenium-webdriver as it appears more intuitive mostly than the previous version of selenium and the ruby driver that went with
Please note that none of the above will work anymore. Element#select and Element#toggle have been deprecated. You need to do something like:
Element#select
Element#toggle
my_select.click my_select.find_elements( :tag_name => "option" ).find do |option| option.text == value end.click