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