I haven't been able to run the selenium tests in Django's test suite without errors similar to what you describe since the geckodriver became required for testing with Firefox. I suspect this is a selenium/geckodriver issue rather than anything Django related. In the meantime, we're running the selenium tests with Google Chrome.
On Wednesday, May 17, 2017 at 10:45:18 AM UTC-4, Antonis Christofides wrote: > > Hi, > > I am the author of django-selenium-clean > <https://github.com/aptiko/django-selenium-clean>. > I'm happy I wrote extensive unit tests for it, which has made it much > easier to see what's up in various Python/Selenium/Browser combinations. > But I have some trouble and I was wondering whether there's any Selenium > expert who can help. Or if anyone knows where I could ask for help. Or if > anyone could just investigate and verify these findings and come up with > any ideas. > > Here's the situation (copied from the ticket > <https://github.com/aptiko/django-selenium-clean/issues/2>): > > - Selenium 2.53, Firefox 45: Everything runs fine (but tests are run > twice, but this is probably not a Selenium issue). > - Selenium 2.53, Firefox 53: Browser opens, then nothing happens, > after a while testing terminates with an error. > - Selenium 3.4, Firefox 53: Browser opens, tests start. Two tests run > successfully, then it hangs. Maximizing the browser and restoring it to > the > original size may unhang it, and it may re-hang. It always hangs after a > test finishes and before another starts. Some tests fail, but it can't be > said whether it's a problem until the hanging is fixed. > > The above behavior is with Python 3. With Python 2, the behavior is the > same, except that, in addition, if it manages to terminate properly (such > as in Selenium 2.53 and Firefox 45), the browser stays open and there's an > error message in the console. > Regards, > > A. > > -- > Antonis Christofideshttp://djangodeployment.com > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bc77f2ae-99bf-4b01-a155-8a6df1559480%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

