php iframesHtml By Sleepy Stoat on Dec 1 2020 <iframe src="url" title="description"> Source:www.w3schools.com 0 Use iframe as a link code example
Example: iframe
- Iframe is html inside another html
- We need to switch selenium focus to iframe
either by using INDEX, NAME-ID, or
as a webelement same way as other webelements.
After switching to Iframe we need to switch back to
the main frame to able to continue in the main frame.
Syntax=
-driver.switchTo().defaultContent();
-driver.switchTo().parentFrame();