在未指定可执行路径时,Chrome 加载需要 6 秒
作者: ghost创建于 2019年12月8日更新于 2019年12月8日
const launchOptions = { width: 500, height: 400, executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" }; const startTime = new Date().getTime(); const app = await carlo.launch(launchOptions); const launchTime = new Date().getTime() - startTime; 这需要不到 1 秒即可启动
内容来源: GoogleChromeLabs/carlo