Chromedriver在cmd中运行,但未在WSL中运行

时间:2020-04-29 15:45:05

标签: windows selenium selenium-chromedriver python-3.6 windows-subsystem-for-linux


我正在使用python3和selenium编写一个浏览器自动化工具。我已经安装了适当的chromedrivers和其他模块。但是该脚本仅在cmd中运行而不在WSL中运行。在WSL中,出现以下错误:

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

0 个答案:

没有答案