webfp/tor-browser-selenium

Message: Process unexpectedly closed with status 255

badr-elmazaz opened this issue · 3 comments

I still have this error:
with TorBrowserDriver("/app/tor-browser_en-US") as driver:
File "/usr/local/lib/python3.8/dist-packages/tbselenium/tbdriver.py", line 95, in init
super(TorBrowserDriver, self).init(
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/firefox/webdriver.py", line 179, in init
RemoteWebDriver.init(
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 268, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 359, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 255

I tried everything

Sorry for the late response. It looks like the browser cannot start for some reason-possibly unrelated to tbselenium.
It'd be good to isolate the problem:

  • Can you run Firefox on the same machine?
  • Can you run Selenium + Firefox on the same machine?

Similar issue on Ubuntu 22.04 LTS

Closing due to inactivity. Please reopen if the issue persist in the latest tbselenium version.