开发者

What kind of exception can a selenium method throw?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜