我之前已经成功运行了我的测试,但现在我收到了这个错误。
An error occurred while trying to start the Nightwatch Runner: Invalid testing environment specified: chrome\. Available environments are: chrome, firefox, edge
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
我删除了节点目录并重新安装。我添加了一个 . 在 webdrivers 路径的开头。