Categories

Aug 19, 2019 in Selenium

Q: Which attribute you should consider throughout the script in frame for “if no frame Id as well as no frame name”?

1 Answer

Aug 20, 2019
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

Madanswer
Aug 19, 2019 in Selenium
Aug 19, 2019 in Selenium
Aug 19, 2019 in Selenium
...