0

I have added JAR files, but I am still getting this error:

ChromeDriver cannot be resolved to a type

Enter image description here

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
  • A description, etc. ought to be included as well. Please review *[Why not upload images of code/errors when asking a question?](https://meta.stackoverflow.com/questions/285551/)* (e.g., *"Images should only be used to illustrate problems that* ***can't be made clear in any other way,*** *such as to provide screenshots of a user interface."*) and [do the right thing](https://stackoverflow.com/posts/74177719/edit). Thanks in advance. – Peter Mortensen Feb 23 '23 at 03:07

1 Answers1

0

You need to set thee chromedriver path on the system as a variable, either manually or through code.

You don't need the JAR files on the project.

Please look at my reply on this question.

I can’t repeat answers, but it's the same situation.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
dot
  • 64
  • 7