Method WebDriver.getPageSource() may also throw UnhandledAlertException - let's catch it.