Friday, April 21, 2017

org.openqa.selenium.WebDriverException: cannot get automation extension

In our current project, we write CI tests using Selenium. But several weeks has passed since I wrote a new test and there goes a nice exception while running the old ones.

  
org.openqa.selenium.WebDriverException: unknown error: cannot get automation extension

Doesn't explain much, right?
I find the solution in upgrading my chrome driver.