【Playwright】playwright mcp extension安装记录 之 打开系统已安装Chrome共享登录态
·
Trae或者Qoder
1、chrome的Playwright mcp的扩展一定要安装
https://github.com/microsoft/playwright-mcp/blob/main/extension/README.md
https://github.com/microsoft/playwright-mcp/releases
2、安装之后点击该扩展,有mcp的安装配置,复制
3、在Trae或者Qoder中添加即可
注意事项
编辑器报错1
无法解析 shell 环境: 来自生成的 shell 的意外退出代码(代码 9、信号 null)
检查 ~/.bash_profile是否配置了如下的代码,有的话删掉。source ~/.bash_profile,退出重新打开编辑器,报错就没有了。如果zsh,那就操作~/.zshrc
export NODE_OPTIONS=--openssl-legacy-provider
编辑器报错2
Failed to use extension with "ReferenceError: crypto is not defined"
https://github.com/microsoft/playwright-mcp/issues/924
确保,node升级到了24
更多推荐



所有评论(0)