0

I'm using the webdrivermanager(Java) and I think is configured (pom.xml), because Chrome and IE are working. Only FireFox is showing this menssage "No configuration setting found for key 'wdm.geckoDriverVersion'"

*The exemple works to.

So, Boni or other member can help me with this problem?

Thanks.

EDIT:

I have this error only with PhantomJs and FireFox. The code is the same(examples git). First I thought that would be the POM but Chrome and IE are working. Thanks for your support.

https://i.stack.imgur.com/KJOnO.png

https://i.stack.imgur.com/at3qm.png

1 Answers1

1

It seems that the library used by WebDriverManager for configuration (com.typesafe.config) is not able to find the properties file for some reason. As of WebDriverManager 1.5.0, this file name is webdrivermanager.properties.

In any case, I would use the latest version of WebDriverManager and try again.

Boni García
  • 4,618
  • 5
  • 28
  • 44
  • Ok, I'll try it now. :) – Vinicius Kostriuba Feb 20 '17 at 16:29
  • Boni, now I have the webdrivermanager.properties. And I get another error: "Exception in thread "AWT-EventQueue-0" java.lang.AbstractMethodError: io.github.bonigarcia.wdm.BrowserManager.getDriverVersion()Ljava/lang/String;" – Vinicius Kostriuba Feb 20 '17 at 17:18
  • Why do you need a custom webdrivermanager.properties? What is the content of that file? – Boni García Feb 20 '17 at 19:31
  • I don´t need, the 1.5.0 version doesn´t have this file. I had other msg error "No configuration setting found for key 'wdm.geckoDriverVersion' - WebDriverManager" . Now I put the 1.6.0 and I have this file but another error appear " io.github.bonigarcia.wdm.BrowserManager.getDriverVersion()Lj‌​ava/lang/String" Only with PhantomJs and FireFox, I need to config something specific? I mean, POM. I followed the git Instruction. – Vinicius Kostriuba Feb 20 '17 at 20:44
  • I'm not sure. Some tips to try to solve this: 1. Do not override webdrivermanager.properties. 2. See working examples [here](https://github.com/bonigarcia/webdrivermanager-examples). If the error is still there, you need to provide the full forensic information about your project/problem (call to FirefoxDriverManager, complete trace log, complete pom.xml) – Boni García Feb 21 '17 at 10:36
  • Ok, Boni. I'll try it. – Vinicius Kostriuba Feb 21 '17 at 11:50