Hello all , i am working on a java automatisation project using selenium web driver; this project should work on any application/any site (which is hard). i done a good job until now , but my Bigest problem since a month is this:
Since every web page can contains infinite number of frames : selenium needs to search in all the iframes of the page to find the element : here is an exemple of a web page to help you understand me :
xxx.png
I need to create a java fonction like this:
List<WebElement> iframes = driver.findElements(By.tagName("iframe"));
for (WebElement iframe : iframes) {
}
How i do to search in all the iframes recursively ? u understand please guys? i need to enter all the frames and search my element there!!!
PLease try to help , even a little idea might keep me my job
Thank you all in advance