I cant add an item to the cart because the button is not being selected.
this button should add the item selected to the cart as shown:
here is the non working code i used to get it to select a random button and to click on it:
WebElement areaInventory = navegador.findElement(By.id("inventory_container"));
List<WebElement> l1 = areaInventory.findElements(By.className("btn_primary btn_inventory"));
for(int i=0;i< l1.size();i++){
Random r = new Random();
l1.get(r.nextInt(6)).click();
}