html iframe tag
snippet in html

html iframe tag

user7020

<iframe src="http://kidcreatorsteam.com" height="90px" width="40px"></iframe>
<!--I made an iframe! Yay! -->

html iframe example

user2379

<iframe src="http://www.codegrepper.com"></iframe>

iframe

user5672

	- 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();

iframe code

user4786


    <iframe src="https://www.w3schools.com"></iframe>