为了账号安全,请及时绑定邮箱和手机立即绑定

出现这个报错怎么办

Exception in thread "main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA

Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:17:10'

System info: host: 'Alcour', ip: '10.4.104.16', os.name: 'Windows Vista', os.arch: 'amd64', os.version: '6.2', java.version: '1.6.0_13'

Driver info: driver.version: testDriver


正在回答

1 回答

添加System.setProperty("webdriver.firefox.bin","此处填你安装firefox的位置");

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

出现这个报错怎么办

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信