You can use…..driver.findElements(By.xpath(“//iframe”))….
This will return list of frames.
You will ned to switch to each and every frame and search for locator which we want.
Then break the loop
This will return list of frames.
You will ned to switch to each and every frame and search for locator which we want.
Then break the loop
No comments:
Post a Comment