Categories

1 Answer

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());

}
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

Madanswer
Aug 22, 2019 in Selenium
Aug 22, 2019 in Selenium
Aug 22, 2019 in Selenium
...