Can anyone suggest solution for error in the path and connection?

I was using a headless browser for webscraping using Firefox with GeckoDriver. But it shows an error in the path and connection refused.Can anyone suggest solution for that?

Hi Helen,

Install the lower version of selenium.It can fix the issue in this case.

pip install selenium==2.53.5