# File lib/capybara/node/actions.rb, line 80
      def check(locator)
        msg = "cannot check field, no checkbox with id, name, or label '#{locator}' found"
        find(:xpath, XPath::HTML.checkbox(locator), :message => msg).set(true)
      end