1 Answer

0 votes
by
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
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
0 votes
asked Aug 19, 2019 in Selenium by rahulsharma
...