Trying to delete remove button after adding the products used for loop to delete the records one by one before signout the testcase
But its deleting only one record ,i would like to delete the records until its reach to table count zero
` List<WebElement> rows = driver.findElements(xpath);
// For loop follows
for (int i = 0; i < rows.size(); i++) {
// Access individual elements this way:
WebElement deleteButton = driver.findElement(xpath);
deleteButton.click();
}`