Skip to content

Instantly share code, notes, and snippets.

Created May 16, 2012 13:02
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 anonymous/54dc976d867879d089d6 to your computer and use it in GitHub Desktop.
Save anonymous/54dc976d867879d089d6 to your computer and use it in GitHub Desktop.
begin
row = webelement
rescue
row = webelement[0]
end
row.do_a
row.do_b
row.do_c
row.do_d
#...and so on
row.do_z
#somewhere between do_a and do_z, row becomes an array, can I rescue that specific row and retry without retrying the entire a-z?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment