Selenium + Python error when using time.sleep ()

1

I'm automating a task on a website using python + selenium. Every time I use time.sleep() will run sleep time it returns this error.

ConnectionAbortedError: [WinError 10053] Uma conexão estabelecida foi anulada pelo software no computador host

Does anyone know the cause and how could I solve this?

    
asked by anonymous 29.06.2018 / 20:18

1 answer

1

This seems to be a problem with geckodriver 0.21.0, if you are using this version.

Try using 0.20.1 for now.

    
29.06.2018 / 23:35