【Python】 selenium.common.exceptions.WebDriverException

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/gdkyxy2013/article/details/89929918

        今天在使用selenium库的时候遇到了如下的异常:

selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

        解决这个问题最便捷的方法就是:将Chromedriver的可执行文件放到调用selenium库的项目下。

猜你喜欢

转载自blog.csdn.net/gdkyxy2013/article/details/89929918