I am using Intellij. As I'm writing Selenium Java code I get errors such as "one related problem". Sometimes the extend of a class stops working.
I use File/Invalidate Caches and it fixes it for a little while.
Is there a way to stop this from happening?