Skip to content

@jarib /gist:777516
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
select = driver.find_element(:name => "select")
option = select.find_elements(:tag_name => "option").find { |o| o.text == "Name you want" }
raise "could not find the right option" if option.nil?
option.select
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.