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