我收到错误:
Failed: org.openqa.selenium.WebDriverException Cannot find firefox binary in PATH, make sure firefox is installed. OS appears to be WIN8
我正在使用Selenium v 2.30
并Firefox v.19
开启windows 8 64bit
相同的代码在 windows7/SP1 上运行良好。
if(browser == SupportedBrowser.FIREFOX) {
//firefox driver is built into selenium standalone server
return new FirefoxDriver();
}