豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit b5b9a77

Browse files
authored
test: fix install of chrome in test.mjs (#1087)
This is used by some extension tests that rely on new CDP capabilities. cc @nroscino
1 parent 79337ec commit b5b9a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const nodeArgs = [
6262
function installChrome(version) {
6363
try {
6464
return execSync(
65-
`npx @puppeteer/browsers install chrome@${version} --format "{{path}}"`,
65+
`npx puppeteer browsers install chrome@${version} --format "{{path}}"`,
6666
)
6767
.toString()
6868
.trim();

0 commit comments

Comments
 (0)