What is driver switchTo () defaultContent ()?
When you are focusing in side any iframe and wanted to switch back to main page you can use switchTo()defaultContent()
This method is for switching to and fro in between frames and parent frames. The focus is shifted to the main page.