0
나는 웹 드라이브와 구글 chroome을 실행하려고하지만 난 항상 오류사용하여 크롬 드라이버 2.4
java -jar ..\..\Selenium\selenium-server-2.4.0\selenium-server-standalone-2.4.0.jar -role webdriver -hub http://localhost:4444/grid/register -Dwebdriver.chrome.driver=..\..\Selenium\Driver\GoogleChroome\chromedriver.exe
얻을하지만 난이 오류를 얻을 : 내가 잘못
D:\PROJEKTI\crawler\WebCrawlerSuite\DLL\RunSelenium\Grid2>java -jar ..\..\Seleni
um\selenium-server-2.4.0\selenium-server-standalone-2.4.0.jar -role webdriver -h
ub http://localhost:4444/grid/register -Dwebdriver.chrome.driver=D:\PROJEKTI\cra
wler\WebCrawlerSuite\DLL\Selenium\Driver\GoogleChroome\chromedriver.exe
23.8.2011 21:04:32 org.openqa.grid.selenium.GridLauncher main
INFO: Launching a selenium grid node
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5
at org.openqa.grid.common.CommandLineOptionHelper.getParamValue(CommandL
ineOptionHelper.java:45)
at org.openqa.grid.common.RegistrationRequest.loadFromCommandLine(Regist
rationRequest.java:389)
at org.openqa.grid.common.RegistrationRequest.build(RegistrationRequest.
java:351)
at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:57)
를하고있는 중이 야 무엇을 ?
들으로 -Dwebdriver.chrome.driver 인수를 이동하여 그것을 해결 – senzacionale