Selenium + Python error when using time.Sleep()

Asked

Viewed 266 times

1

I am automating a task on a website using python + Selenium. Every time I use the time.sleep() will run the time of Sleep returns this error.

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

Someone knows the cause and how I could solve it?

  • We do not put "solved" in the title. We just mark the appropriate answer as accepted

1 answer

2


This seems to be a problem of geckodriver 0.21.0, if using this version.

Try to use the 0.20.1 for the time being.

  • Oops, I came back a previous version and now it’s going. Thanks!!

  • @Jarleisassi anything! If you solved the question, do not forget to accept the answer by clicking on the green "V" to mark it as solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.