o2team.github.io icon indicating copy to clipboard operation
o2team.github.io copied to clipboard

京喜前端自动化测试之路

Open zhangxiang910 opened this issue 5 years ago • 2 comments

https://aotu.io/notes/2020/05/06/jingxi-automated-testing/index.html

zhangxiang910 avatar May 06 '20 09:05 zhangxiang910

未找到相关的 Issues 进行评论

请联系 @zhangxiang910 初始化创建

gitalk挂了。

顺便想问下,手动安装Chromium ,但找不到:

Error: Failed to launch the browser process! spawn ~/Applications/Chromium.app/Contents/MacOS/Chromium ENOENT

rayliao avatar May 21 '20 09:05 rayliao

下载地址:https://download-chromium.appspot.com/下载后安装到项目目录下,在 index.js 中设置浏览器路径(相对路径)。如下载后安装在项目的 chromium-mac 文件夹中: await puppeteer.launch({ executablePath: ' ./chromium-mac/Chromium.app/Contents/MacOS/Chromium', })

------------------ 原始邮件 ------------------ 发件人: "WingRay Liao"<[email protected]>; 发送时间: 2020年5月21日(星期四) 下午5:41 收件人: "o2team/o2team.github.io"<[email protected]>; 抄送: "简单并快乐着"<[email protected]>; "Author"<[email protected]>; 主题: Re: [o2team/o2team.github.io] 京喜前端自动化测试之路 (#178)

未找到相关的 Issues 进行评论 请联系 @zhangxiang910 初始化创建
gitalk挂了。

顺便想问下,手动安装Chromium ,但找不到: Error: Failed to launch the browser process! spawn ~/Applications/Chromium.app/Contents/MacOS/Chromium ENOENT
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zhangxiang910 avatar May 21 '20 11:05 zhangxiang910