How can you use the Recovery Scenario in Selenium WebDriver?

1.1K    Asked by VinayYadav in QA Testing , Asked on Jan 24, 2020
Answered by Vinay Yadav

By utilizing "Try Catch Block" inside Selenium WebDriver Java tests. For instance,

try {

     driver.get("www.example.com");

} catch(Exception e){

     System.out.println(e.getMessage());

}



Your Answer

Interviews

Parent Categories