我在远程 Linux 服务器上运行的 Jenkins 中遇到了 Selenium 自动化测试问题。我认为这只是远程系统上没有 Chrome 浏览器的问题。所以,我的问题是:如何在远程 Linux 服务器上安装 Chrome?任何意见,将不胜感激。
最佳答案
这应该可以让你通过终端安装 chrome:
sudo apt-get install libxss1 libappindicator1 libindicator7
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome*.deb
关于node.js - 在Linux服务器上安装chrome浏览器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52048828/