I am using Behat+Mink+Selenium2
to find an element using CSS selectors using tr.product:nth-of-type(N)
$row=$page->find('css',sprintf('tr.product:nth-of-type("%d")', $i));
I have also tried
$row=$page->find('css', sprintf('tr[class=product]:nth-of-type("%d")', $i));
but none of them work. Is there any other alternative to selecting every nth row with a class of product?