0

Configured needed dependency from here in pom.xml: https://github.com/bonigarcia/webdrivermanager

But still having an error when declaring WebDriverManager.

WebDriverManager error

Boni García
  • 4,618
  • 5
  • 28
  • 44
troc
  • 43
  • 8

1 Answers1

2

It seems you are declaring WebDriverManager as a test dependency but then you are using in the regular source folder. To solve it, simple remove <scope>test</scope> from the WebDriverManager declaration in your pom.xml and try again.

Boni García
  • 4,618
  • 5
  • 28
  • 44