Open humorwang opened 2 years ago
Thanks for sharing your thoughts, I think it's a good idea!
I believe we can use "browserless/chrome:latest" by default if they use fewer resources.
You can refer to the below source code:
We can only use "本地的chromium 非常吃内存,对低配置服务器非常不友好" when the options.head
is true
.
我想是否可以puppetOptions 参数设置参数拓展,让开发时使用puppeteer.launch(); 而正式环境使用 puppeteer.connect(); 本地的chromium 非常吃内存,对低配置服务器非常不友好,而 browserless/chrome:latest 对低配置服务器比较友好。