Fórum Selenium webdriver e chromedriver #463080
05/12/2013
0
Olá , bom dia .
Estou querendo rodar meus testes com selenium webdriver usando o chromedriver .
Porém sempre aparece esta exceção :
Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://code.google.com/p/chromedriver/downloads/list
Eu já defini o caminho no path e não foi suficiente . Agora criei uma variável de ambiente , chamada webdriver.chrome.driver e coloquei o caminho para o chromedriver.exe .
E então estou tentando colocar este código :
System.setProperty("webdriver.chrome.driver ", "C:\Driver para webDriver\chromedriver.exe");Mas não consigo inicializar o teste .
Alguma sugestão ?
Obrigada .
Jessica Rodrigues
Curtir tópico
+ 0Posts
07/12/2013
Fernanda Acacia
Gostei + 0
09/12/2013
Jessica Rodrigues
Gostei + 0
09/12/2013
Fernanda Acacia
Gostei + 0
10/12/2013
Jessica Rodrigues
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)