Cypress 5.0-找不到已安装的浏览器
我已经安装了Cypress 5.0,并拥有所有浏览器-Chrome、Edge和FF。当我跑的时候Cypress 5.0-找不到已安装的浏览器,cypress,Cypress,我已经安装了Cypress 5.0,并拥有所有浏览器-Chrome、Edge和FF。当我跑的时候 > npx cypress open 无法看到右上角的所有浏览器。只有电子在显示 我试过了 > npx cypress open --browser chrome 我得到以下错误 Can't run because you've entered an invalid browser name.
> npx cypress open
无法看到右上角的所有浏览器。只有电子在显示
我试过了
> npx cypress open --browser chrome
我得到以下错误
Can't run because you've entered an invalid browser name.
Browser: 'chrome' was not found on your system or is not supported by Cypress.
Cypress supports the following browsers:
- chrome
- chromium
- edge
- electron
- firefox (Cypress support in beta)
You can also use a custom browser: https://on.cypress.io/customize-browsers
Available browsers found on your system are:
- electron
我也试过了
> npx cypress open --browser C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Cypress显示错误-我们无法在您提供的路径上识别已知浏览器
在我的另一台机器中,我可以看到从get go开始的所有浏览器
任何帮助都将不胜感激我与Jenkins有相同的问题,只需在管道脚本(在
with env
部分)的路径中添加C:\\Windows\\System32\\wbem
即可解决问题。我与Cypress 7.1.0有相同的问题。
柏树只露出边缘。
我删除了中描述的应用程序数据。
重新安装Google Chrome后,Cypress将同时显示Chrome和Edge。在具有docker图像的CI中运行时出现相同问题