string a=\'headsete\' List ele=driver.findElements(By.xpath("//*[@id="rct-3YbUK0N"]/ol/li1/span/label/span1")); System.out.println(Integer.toString(ele.size(