当webdriver遇到“' executable may ha

2019-12-28  本文已影响0人  Magna
Driver = webdriver.Chrome("/usr/bin/",chrome_options=options) 


# 报错信息:
selenium.common.exceptions.WebDriverException: Message: '' executable may have wrong permissions. Please see https://sites.google.com/a/chromium.org/chromedriver/home

#解决方案:
将chromedriver放入ENV环境下的bin,lib等目录,可直接解决问题

上一篇 下一篇

猜你喜欢

热点阅读