selenium.common.exceptions.WebDriverException: Message: 'IEDriverServer.exe' executable needs to be
2018-02-24 16:56
1076 查看
前面安装好了python+selenium的环境,之后又装了PyCharm集成开发环境,想要用它写代码,但是创建文件后发现导入selenium的包会报错,下面是解决办法:
菜单栏的File-》Settings-》Project-》Project Interpreter
![](https://oscdn.geek-share.com/Uploads/Images/Content/201802/24/04a02b882e0dad40237cc5f1325e3417)
添加之前安装的python并且选着使用它就ok了。
但是紧接着我的代码编译又遇到了报错selenium.common.exceptions.WebDriverException: Message: 'IEDriverServer.exe' executable needs to be ,这个解决办法就是下载IEDriverServer.exe并将它放在上面那张图片所显示的路径文件夹中,我的电脑里面是如下路径
![](https://oscdn.geek-share.com/Uploads/Images/Content/201802/24/cedf8ac7095b9f41e59b027e518b5e91)
再试着运行你的程序就会发现正常啦!
菜单栏的File-》Settings-》Project-》Project Interpreter
添加之前安装的python并且选着使用它就ok了。
但是紧接着我的代码编译又遇到了报错selenium.common.exceptions.WebDriverException: Message: 'IEDriverServer.exe' executable needs to be ,这个解决办法就是下载IEDriverServer.exe并将它放在上面那张图片所显示的路径文件夹中,我的电脑里面是如下路径
再试着运行你的程序就会发现正常啦!
相关文章推荐
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
- selenium.common.exceptions.WebDriverException: Message: 'phantomjs' executable needs to be in PATH
- selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PAT
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH
- selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH
- WebDriverException: Message: 'IEDriverServer.exe' executable needs to be in PATH. Please download fr
- WebDriverException: Message: 'phantomjs.exe' executable needs to be in PATH.
- Python爬虫——selenium.common.exceptions.WebDriverException: Message: Failed to set preferences: Unable
- python运行时提示WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- python运行时提示WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- WebDriverException:Message:'geckodriver'executable needs to be in Path
- Python脚本报错:selenium.common.exceptions.WebDriverException: Message: Service chromedriver.exe unexpect
- WebDriverException:Message:'geckodriver'executable needs to be in Path
- appium创建session失败:selenium.common.exceptions.WebDriverException: Message: A new session could not be
- python运行时提示WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
- selenium.common.exceptions.WebDriverException: Message: Service chromium-browser unexpectedly exited
- python selenium模块使用出错解决,Message: 'geckodriver' executable needs to be in PATH
- 关于:selenium.common.exceptions.WebDriverException: Message: unknown error: cannot get automation exte
- selenium.common.exceptions.WebDriverException: Message: "Can't load the profile.