I want to verify from this website: https://demo.nopcommerce.com/. There are 4 products shown with the Euro symbol by using for loop.
Code:
List <WebElement> productcurrency = driver.findelEments(By.xpath(“span[text()=\”€\”]”));
system.out.println(“4”+ productcurrency.size());