Selenium fails with empty exception message

五迷三道 提交于 2021-02-10 07:46:24

问题


I'm using Selenium 2.7.0 and Python 2.6, my OS is Mac OS X 10.7. When I'm trying to instantiate webdriver object I'm getting the following message:

selenium.common.exception.WebDriverException: Message: '' 

Previously I was using Selenium 2.13.0, but I've installed older version because I have working installation on another machine. The first attempt (after reinstallation) to launch webdriver was successful, but all subsequent are not. Then I tried to use Chrome driver instead Firefox, and got the same situation: successful first attempt and unsuccessful subsequent ones. It's quite hard to google because error message is empty.

来源:https://stackoverflow.com/questions/8470193/selenium-fails-with-empty-exception-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!