The document contains code for two programs that demonstrate working with iframes using Selenium WebDriver in Java. Program1 navigates to a page with an iframe, switches to the iframe and clicks a button, then switches back and clicks a home icon. Program2 navigates to a page with an iframe, enters text into search fields both within and outside the iframe, clears and updates the text within the iframe, and clicks a search button after scrolling an element into view.
The document contains code for two programs that demonstrate working with iframes using Selenium WebDriver in Java. Program1 navigates to a page with an iframe, switches to the iframe and clicks a button, then switches back and clicks a home icon. Program2 navigates to a page with an iframe, enters text into search fields both within and outside the iframe, clears and updates the text within the iframe, and clicks a search button after scrolling an element into view.