How to check if an alert exists using WebDriver? How to check if an alert exists using WebDriver? selenium selenium