Skip to content

Instantly share code, notes, and snippets.

@bernardeli
Created March 1, 2013 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bernardeli/5063883 to your computer and use it in GitHub Desktop.
Save bernardeli/5063883 to your computer and use it in GitHub Desktop.
click_on "Add new person"
last_nested_fields = all('.fields').last
within(last_nested_fields) do
fill_in "Name", with: "Ricardo"
fill_in "Age", with: 27
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment