# File lib/capybara/node/matchers.rb, line 358 def has_select?(locator, options={}) options, selected = split_options(options, :selected) has_xpath?(XPath::HTML.select(locator, options), selected) end