Created
November 11, 2009 21:24
-
-
Save adamlogic/232312 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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