Topic: Making the distinction between similarly titled links in Cucumber

Hoblaa!

I'm writing a test for modifying a list structure. Say I have a list of objects in the view along the lines of:
Object1   View Edit Delete
Object2   View Edit Delete
Object3   View Edit Delete
Object4   View Edit Delete

I want to be able to write a test in Cucumber that'll perform an action on one of the objects, i.e. Object2. How can I pinpoint the correct View/Edit/Delete link from the list? I can't really use the standard

 I follow "View"

because it will just follow the View link for Object1 (I assume).

Thanks in advance.

Re: Making the distinction between similarly titled links in Cucumber

You might be able to do something like this:

I follow "View" within "#object_1"

This is assuming that the view link is contained within an element with an id of object_1

Scott