Skip to content

Instantly share code, notes, and snippets.

@adamlogic
Created November 11, 2009 21:24
Show Gist options
  • Save adamlogic/232312 to your computer and use it in GitHub Desktop.
Save adamlogic/232312 to your computer and use it in GitHub Desktop.
def choose_last_radio_in_selector(selector)
within(selector) do
choose field_by_xpath('.//input[@type="radio"][last()]')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment