Selenium Java - Handling Windows, Frames, and Alerts
Given the following code snippet, what will be printed if the alert is accepted?
driver.switchTo().alert().accept();
System.out.println("Alert handled successfully");