“playwright 安装 firefox chromium”给出错误“playwright:找不到命令”

问题描述 投票:0回答:1

我尝试在 Windows WSL2 中运行 playwright,但失败了。

majeed@DESKTOP-3PJANB1:~/test/test_out$ playwright install firefox chromium
playwright: command not found
python playwright
1个回答
0
投票

您可以通过在终端中运行以下命令来全局安装 Playwright:

npm install -g 剧作家

© www.soinside.com 2019 - 2024. All rights reserved.