How to handle Nested iframes in Webpages Selenium WebDriver Automation with Selenium

preview_player
Показать описание
In this session you will learn what are nested frames on a webpage and how to handle nested frames.

Please watch below basic session how to handle single frame so that it would be easy to understand this nested frames session
How to handle single frame on a webpage

If you want to download the project/code, please download from below GitHub Repository

What is Nested iframe

An HTML iframe inside an another iframe is called Nested Iframe
To access elements of respective webelement in a iframe you have to switch to respective iframe
Switch to Frame

Switch to Main Frame / Parent Frame


Practice program on how to handle nested frame
============================================

public class nested_iframes_Example {

public static void main(String[] args) {
WebDriver driver=new ChromeDriver();






}

}
Рекомендации по теме