@Test
public static void test()
{
System.setProperty("webdriver.chrome.driver", "D:\\abcd\\Jars\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("https://www.google.co.in");
}
}
当我尝试执行上述代码时,webdriver 抛出以下错误。以下错误是什么意思以及如何解决问题?
FAILED: test
org.openqa.selenium.WebDriverException: unknown error: version info not a dictionary
(Driver info: chromedriver=0.8,platform=Windows NT 6.1 SP1 x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 4.35 seconds
Build info: version: '2.32.0', revision: '6c40c18', time: '2013-04-09 17:23:22'
System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0'