I recently came across this exception. It also turned out to be non-deterministic at first, but after a thorough investigation, I realized that this happens deterministically if you call ChromeDriver.Close () and then try to find FindElement.
In my case, ChromeDriver.Close () was called in the exception handler of the previous test, which occurred due to a synchronization problem. This only affected the next test, so he added to the feeling that this problem is uneven. But, as I said, my investigation showed that it is deterministic.
Having said that, this is my experience with this error. Maybe your case is different ...
source share