Reputation: 1521
I have this content in the page source:
<td class="gridData" route="default" reset="0" urlparams="users index edit {userID}" label="Username">
<a href="/de/users/index/edit/userID/56">UM-Employee</a>
</td>
Any ideas on how to test this functionality to click on the user link?
Upvotes: 1
Views: 534
Reputation: 4551
You can use the link text (as below) or an id-tag (which you would have to introduce into your HTML of course) to identify the link Capybara should follow.
Upvotes: 0