selenium遇坑
Posted lwj-0923
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了selenium遇坑相关的知识,希望对你有一定的参考价值。
1、报错:Can not connect to the Service chromedriver
项目之前运行一直没有问题,今天运行突然报错,本来以为是chrome不小心更新了导致chromedriver匹配不上,但是最后发现是 localhost配置错了
localhost如下配置即可
以上是关于selenium遇坑的主要内容,如果未能解决你的问题,请参考以下文章
selenium测试为啥要启动selenium server
Selenium-IDE,Selenium-RC ,Selenium grid以及 Selenium-Core