我首先安装了Chromium,并准备了我的Selenium测试来运行它(我有chromeDriver,我创建了指向铬浏览器的符号链接google)。一切都进展顺利。
后来,我安装了Google浏览器来调试一些node.js应用程序,从那时起Selenium打开了Google而不是Chrome。
我想不出如何取回硒打开铬。双曲链接确实存在,并指向铬浏览器。
当谷歌-铬也在系统上可用时,如何使用铬运行Selenium?
更新1:更新-替代品呢?
$ ls -lah /usr/bin/google-chrome
/usr/bin/google-chrome -> /etc/alternatives/google-chrome
$ ls -lah /etc/alternatives/google-chrome
/etc/alternatives/google-chrome -> /usr/lib/chromium-browser/chromium-browserhttps://stackoverflow.com/questions/24999318
复制相似问题