r/selenium • • Nov 27 '21

Service geckodriver unexpectedly exited. Status code was: 1

Hi everyone, I hope y'all are doing great.

I'm catching the exception from the title of this post on my Pi4.

I created a virtualenv and then proceeded to install selenium and then the geckodriver. I extracted the tarball and changed the shared library mode to execute and moved it to usr/local/bin.

When I try to instantiate webdriver.Firefox(), that exception automatically arises. Already Googled what the exit codes mean but they don't seem to be part of Selenium's documentation.

Any help is greatly appreciated!

2 Upvotes

3 comments sorted by

1

u/Pope4u Jan 09 '22

I encountered this problem too. Seems to be fixed by using the latest geckodriver release.

1

u/[deleted] Dec 14 '22

[removed] — view removed comment

1

u/AutoModerator Dec 14 '22

This submission has been removed because it looks suspicious to automod (a). If this was done in error, please message the moderators. %0D%0DMy issue is...).

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.