# File lib/capybara/node/actions.rb, line 25 def click_link(locator) msg = "no link with title, id or text '#{locator}' found" find(:xpath, XPath::HTML.link(locator), :message => msg).click end