我正在使用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