Aug 22, 2019 in Selenium
Q: How can you use the Recovery Scenario in Selenium WebDriver?

1 Answer

0 votes
Aug 22, 2019
By using “Try Catch Block” within Selenium WebDriver Java tests.

try {

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

}catch(Exception e){

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

}

1

2

3

4

5

try {

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

}catch(Exception e){

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

}

Related questions

0 votes
Aug 22, 2019 in Selenium
+1 vote
Aug 22, 2019 in Selenium
...