eclipse执行selenium报错unknown error: cannot find Chrome binary

淺唱寂寞╮ 提交于 2020-01-25 01:58:34

一、问题描述

报错如下

Message: unknown error: cannot find Chrome binary

二、问题解决

1、将Chrome驱动放Chrome的安装位

2、将

System.setProperty("webdriver.chrome.driver",
				"C:\\Program Files (x86)\\Google\\Chrome Beta\\Application\\chromedriver.exe");

中驱动未知改为浏览器安装的绝对路径
问题解决

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!