Niestandardowy atrybut selen
driver.findElement(By.cssSelector("[foo=bar]"));
driver.findElement(By.xpath("//div[@foo='bar']"));
Hiren Vadher
driver.findElement(By.cssSelector("[foo=bar]"));
driver.findElement(By.xpath("//div[@foo='bar']"));