Instantly share code, notes, and snippets.
Thank you for providing this snippet. I had to call strip on cell.text otherwise it contained line breaks in some cases.
Thanks, @dbloete, I've updated the snippet to include strip.
But Why remove tableish ?
Because tablish isn't as flexible as the Capybara finders and like you see: It's easy to roll it yourself.
How does capybara handle elements inside a table cell/row? Is there a quick way to select a checkbox or a link based on cell data? For example, I want to look through the table data and once I find it in row X and there exists a checkbox, and I want to click on that checkbox. What's capybara's best way to handle this?