Ferrum在Heroku上无法正常工作
原文英文,约200词,阅读约需1分钟。发表于: 。To work with Ferrum, you need a web driver. Locally, this is simple — a new Chrome window just opens up. But on Heroku, you’ll need to add a buildpack: heroku buildpacks:add -i 1...
在Heroku上使用Ferrum时,需要添加buildpack并配置Chrome。生成PDF时可能会遇到process_timeout错误,解决方法是启用no-sandbox选项。