I don't know how to click the href link in the polytergeist capybara, I have some sample code like this in my testing
it "test", :driver => :poltergeist do
page.find("#link1").click
end
and in my html, I have an example like this
<table class="index">
<tbody>
<tr>
<td><a href="http://localhost:3000/users/3" id="link1">hey click me</a></td>
</tr>
</tbody>
</table>
how to click link in capybara poltergeist? I'm already trying "click_link", "click_button" and any other, but still not working
source
share