Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.blahaj.zone
selenium·Selenium Web Browser AutomationbyFakeaccount12312

Disable error message from attempting to check geckodriver for updates

So I sometimes run selenium without being connected to the internet, and whenever I do that it spits out this error message:

Exception managing firefox: error sending request for url (https://github.com/mozilla/geckodriver/releases/latest): error trying to connect: dns error: No such host is known. (os error 11001)

Now of course I could wrap it in a try-catch-statement, but is there a proper way to prevent displaying this message (or disable the update check)? The code still works properly, I just don't wanna see the message, or even control the update check.

View original on lemmy.blahaj.zone
4

No replies yet

No comments on the original post yet.
Disable error message from attempting to check geckodriver for updates | Spyke