Chrome驱动安装问题

1、org.openqa.selenium.WebDriverException: unknown error: call function result missing 'value'

原因:浏览器版本与驱动版本不一致

http://npm.taobao.org/mirrors/chromedriver/

2、org.openqa.selenium.WebDriverException: unknown error: cannot find Chrome binary

原因:找不到安装的浏览器,重新安装

3、驱动版本已更换,控制台打印版本与实际驱动版本不一致

Starting ChromeDriver 2.30.477700 (0057494ad8732195794a7b32078424f92a5fce41) on port 33580

猜你喜欢

转载自www.cnblogs.com/xinxin1994/p/10229946.html