开发者

What kind of exception can a selenium method throw?

开发者 https://www.devze.com 2023-02-07 17:36 出处:网络
I just started with selenium and wanted to know the kind of exception a selenium function can throw like say WaitForFramToLoad().

I just started with selenium and wanted to know the kind of exception a selenium function can throw like say WaitForFramToLoad().

Basically, it will help m a lot if some one can point to a link which lists the开发者_Go百科 general exceptions a selenium method can throw, so that I can catch the expected exceptions and throw the unwanted ones.

Thanks in Advance


Two years late, but here's a link to some common exceptions: http://selenium.googlecode.com/git/docs/api/py/common/selenium.common.exceptions.html

In my experience the most common exception i came across was ElementNotFound


In C#, the Selenium 1.0 api's throw Selenium.SeleniumException exclusively.

0

精彩评论

暂无评论...
验证码 换一张
取 消