Use of Switch to commands for handling JavaScript pop ups and Pop up windows using Selenium WebDriver
While automating a web application we would encounter multiple windows, JavaScript pop up alerts, etc. This article is about how to deal with these while using Selenium WebDriver. Selenium commands by default gets executed on your parent window only always. During execution, if you encounter any pop up alerts or