![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
踩过的坑
Trophy_D
just say yes
展开
-
selenium.common.exceptions.WebDriverException: Message: unknown error: call function resul
报错环境: 使用selenium和Chrome做模拟用户登陆的操作解决方法: 更换驱动文件,去官网(需要翻墙)或者淘宝镜像,找到chromedriver下载最新更新的版本既可,替换后再运行就没有报错了。chromedriver官网:https://sites.google.com/a/chromium.org/chromedriver/淘宝镜像:http://npm.taobao....原创 2018-07-19 15:37:07 · 2251 阅读 · 0 评论 -
Linux 使用service命名重启ssh无效
在修改了sshd_config文件之后需要重启sshd,准备执行一下命令进行重启:尝试使用以下命令进行重启:# sudo service ssh restartRedirecting to /bin/systemctl restart sshd.service失败的原因:service ssh restart是centos 6的命令。centos 7的命令应该是:systemctl ...原创 2018-10-22 12:16:10 · 5716 阅读 · 0 评论