[Answered ]-Selenium testing with django gives 'NoneType' object has no attribute 'path'

2👍

It’s not you, it’s selenium… 🙂 Your code is correct.

This is a recent issue with selenium, happening with python client during self.browser.quit().

Updating selenium should do the trick. Although due to the recent nature of the bug (reported and fixed on 21th Oct), at the moment, the fix is not yet incorporated the recent version of selenium. It should be be fixed on versions above 3.0.1

Leave a comment