class Selenium::WebDriver::Support::Select

def select_by_value(value)

def select_by_value(value)
  opts = find_by_value value
  return select_options(opts) unless opts.empty?
  raise Error::NoSuchElementError, "cannot locate option with value: #{value.inspect}"
end