This will work to select an option by value:
find("option[value="20120905"]").click
To maintain the scope of the selector you could wrap it in a within block as such:
within '#date' do
find("option[value="20120905"]").click
end
This will work to select an option by value:
find("option[value="20120905"]").click
To maintain the scope of the selector you could wrap it in a within block as such:
within '#date' do
find("option[value="20120905"]").click
end