# File lib/capybara/session.rb, line 71 def choose(locator) msg = "cannot choose field, no radio button with id, name, or label '#{locator}' found" locate(:xpath, XPath.radio_button(locator), msg).set(true) end