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.