in Selenium by
Q:
How can you use the Recovery Scenario in Selenium WebDriver?

► Click here to show 1 Answer

0 votes
by
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());

}
Selenium
Learn More with Madanswer

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
...