# File lib/capybara/node/matchers.rb, line 209 def has_link?(locator, options={}) has_xpath?(XPath::HTML.link(locator, options)) end