heroku/rails/chrome/selenium:加载共享库时出现错误:libxshmfence.so.1.&l



在Heroku上使用Selenium和Chrome运行Capybara。这一切都很好,直到昨天当我更新到Chrome v88。

我得到以下错误:

/app/.apt/opt/google/chrome/chrome: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory

英雄堆20。到目前为止,还没有找到任何有类似问题的人。

如何找出如果它是一个chrome问题?铬驱动程序问题?英雄问题?非常感谢您的帮助

from chrome buildpack page:

https://github.com/heroku/heroku-buildpack-google-chrome/issues/105

1添加buildpack:

"https://github.com/heroku/heroku-buildpack-apt">

2在应用程序的根目录添加一个名为Aptfile的文件

3粘贴libxshmfence-dev到文件

相关内容