[Chennaipy] Selenium Exception

Gopi jack jackgopi494 at gmail.com
Sat Jul 10 00:19:46 EDT 2021


    I already updated all the packages and browser also, But still I was
facing the issue.
    If there are any criteria for setting the versions ,Kindly let me know.

On Sat, Jul 10, 2021 at 9:38 AM Rengaraj D <sakthirengaraj at gmail.com> wrote:

>
>
> On Sat, 10 Jul 2021 at 08:20, Gopi jack <jackgopi494 at 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 at python.org
> https://mail.python.org/mailman/listinfo/chennaipy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/chennaipy/attachments/20210710/d94c8367/attachment.html>


More information about the Chennaipy mailing list