Beginner selenium2.0 ask you heroes throw exception when the web page. selenium2.0 is how to capture and handle page exception?
I do not want to stop and let the entire testing process because of unusual problems. Is there a scene like qtp restore function? if we usually encounter this exception problem is how to solve…
thank you!!
Look at this Oracle Java Tutorial about Exceptions.
The short answer is that all WebDriver methods throw particular types of
Exceptionswhich you can catch and handle.