Selenium Java - Handling Form Elements
Given this Selenium Java code, what will be the output if the form submission shows a success message with id
successMsg?
driver.findElement(By.id("email")).sendKeys("test@example.com");
driver.findElement(By.id("submitBtn")).click();
String message = driver.findElement(By.id("successMsg")).getText();
System.out.println(message);