【发布时间】:2023-03-21 09:27:02
【问题描述】:
尝试运行一些旧的 selenium 脚本并一直卡住。
The geckodriver.exe executable could not be found on the current PATH.
我正在使用 Windows 并尝试将我的 selenium 驱动程序所在的 C:\dev\selenium\ 添加到路径环境变量中,但感觉我做的不对。自从我接触环境变量以来,这已经是永远。
我将 node.js 用于 selenium,因此,我发现的 System.setProperty 答案不起作用。虽然我希望我可以在节点中做类似的事情。
【问题讨论】:
标签: node.js selenium selenium-webdriver selenium-firefoxdriver