Selenium unknown error: unhandled inspector error
I had this issue today exclusively with ChromeDriver on a project that has been working fine. I found that upgrading to the following version of ChromeDriver fixed the issue for me:
Apparently it is due to a bug. See:
https://bugs.chromium.org/p/chromedriver/issues/detail?id=1238
for more information.
I had the same problem. It disappeared after upgrading to version 2.21:
http://chromedriver.storage.googleapis.com/index.html?path=2.21/
The problem also affected me when I was trying to click on an element which was in the default content and I was on an iFrame.
Adding the following code solved it for me:
driver.switchTo().defaultContent();