title: How to count total number of products on webpage and verify if those are correct with Selenium webdriver in Java?
body: <p>I have to write script to count total no of products on this page <a href="http://www.samsung.com/us/video/home-audio/all-products" rel="nofollow">http://www.samsung.com/us/video/home-audio/all-products</a> and then need to match with " Showing 1-15 of 38 Matching Products" top text with selenium webdriver in Java. Can you someone suggest me piece of code?</p>