On Sat, 10 Jul 2021 at 08:20, Gopi jack <jackgopi...@gmail.com> wrote:
> Hi, > The complete console error message is > > Traceback (most recent call last): > File "namma.py", line 12, in <module> > driver=webdriver.Firefox(options=opts) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/firefox/webdriver.py", > line 170, in __init__ > RemoteWebDriver.__init__( > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", > line 157, in __init__ > self.start_session(capabilities, browser_profile) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", > line 252, in start_session > response = self.execute(Command.NEW_SESSION, parameters) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", > line 321, in execute > self.error_handler.check_response(response) > File > "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", > line 242, in check_response > raise exception_class(message, screen, stacktrace) > selenium.common.exceptions.TimeoutException: Message: connection refused > There is a chance that libraries are not compatible with the browser version, Check below, Gecko, selenium and firefox version requirements. If there is a mismatch in the library versions you may get errors like this. Regards Rengaraj
_______________________________________________ Chennaipy mailing list Chennaipy@python.org https://mail.python.org/mailman/listinfo/chennaipy