java-selenium自动化测试

1.错误:org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA

 处理方式(启动firefox前加此行代码):System.setProperty("webdriver.firefox.bin","C:\\Mozilla Firefox\\firefox.exe");   

2.问题:Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

  处理方式:错误缘由firefox与selenium2.44版本不兼容

posted @ 2018-01-09 10:29  renzz  Views(133)  Comments(0)    收藏  举报
/*鼠标跟随效果*/