Example of handling popup windows with Selenium WebDriver