Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

What Is To Be Done If The Webdriver Can’t Be Resolved To A Type Java?

Asked by Dhruv Tiwari Aug 2, 2023 1.1K views 1 answer
Share

About this question

The import org.openqa cannot be resolved”.
“WebDriver cannot be resolved to a type”.
“ChromeDriver cannot be resolved to a type”

I received the above-mentioned error while writing a TestNG program. Prior to the TestNg installation, the selenium program was working well. It does not render any kind of error. The error happens post TestNG installation. I needed to uninstall TestNG and reinstall it twice. However, the problem still persists. 

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.