Miao-Yunzai/renderers/puppeteer/config_default.yaml

24 lines
614 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 如需自定义,复制此文件为 config.yaml 进行配置
# 更新配置后需要重启
# chromium 地址可填写系统的edge/chromium路径例如根据实际情况调整
# chromiumPath: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
chromiumPath:
# puppeteer websocket 地址。连接单独存在的 chromium。
# puppeteerWS: 'ws://browserless:3000'
puppeteerWS:
# headless
headless: "new"
# puppeteer启动args注意args的--前缀
args:
- --disable-gpu
- --disable-setuid-sandbox
- --no-sandbox
- --no-zygote
# puppeteer截图超时时间
puppeteerTimeout: