I’m using Python and Selenium’s Chromedriver. In my 200 tests there’s always a random one that hangs entire execution. I narrowed the problem down to my setUp method:
def setUp(self): print('[SETUP] OPENING BROWSER...') self.browser = webdriver.Chrome(settings.CHROMEDRIVER_PATH) print('[SETUP] FINISHED!')
> [SETUP] OPENING BROWSER... > command python manage.py test took more than 10 minutes since last output
It happens for different test each time, while most of them passes without problems.
It does not happen when I run tests locally on my computer.
Please, advise what should I do.