Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChromeDriver executable needs #3

Open
wswm152 opened this issue Nov 8, 2020 · 1 comment
Open

ChromeDriver executable needs #3

wswm152 opened this issue Nov 8, 2020 · 1 comment

Comments

@wswm152
Copy link

wswm152 commented Nov 8, 2020

selenium.common.exceptions.WebDriverException: Message: 'ChromeDriver executable needs to be available in the path.
QQ截图20201108160026
这个问题我在windows上也碰到了,指定driver路径会报这个错,放到环境变量path里才能运行

@wukuai
Copy link

wukuai commented Jan 6, 2021

+1, 可以修改代码在运行时添加PATH,实测可以解决该问题:

import sys    
sys.path.append('./chromedriver/')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants