I've read all the posts related here and in google and none helped me with my issue, im trying to read with selenium the li element from a website, i basically need all the li childs in lists.
the code i wrote in java:
List<WebElement> elements = driver.findElements(ByTagName.tagName("form"));
element1 = elements.get(0).findElement(ByTagName.tagName("iframe"));
driver.switchTo().frame(element1);
element2 = driver.findElement(By.xpath("//div[@id='Scroller']//ul"));
childs = element2.findElements(ByTagName.tagName("div"));
driver.close();
and the returned value for childs is empty for some reason. can anyone help me please? ive tried xpath, css selector and tagnames, nothing helped.