Exception in thread Thread-1 (start):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/home/ian/projects/fame/fame/./webdriver.py", line 136, in start
driver = get_chromedriver(use_proxy=True)
File "/home/ian/projects/fame/fame/./webdriver.py", line 134, in
get_chromedriver
driver =
webdriver.Chrome(executable_path='/snap/bin/chromium.chromedriver',
options=options)
File
"/home/ian/projects/fame/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py",
line 69, in __init__
super().__init__(DesiredCapabilities.CHROME['browserName'], "goog",
File
"/home/ian/projects/fame/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py",
line 92, in __init__
super().__init__(
File
"/home/ian/projects/fame/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
line 272, in __init__
self.start_session(capabilities, browser_profile)
File
"/home/ian/projects/fame/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
line 364, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File
"/home/ian/projects/fame/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py",
line 429, in execute
self.error_handler.check_response(response)
File
"/home/ian/projects/fame/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py",
line 243, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome
failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location
/snap/chromium/2168/usr/lib/chromium-browser/chrome is no longer running, so
ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
#0 0x5581d9dfe3a3 <unknown>
#1 0x5581d9bda698 <unknown>
#2 0x5581d9c017e6 <unknown>
#3 0x5581d9bfc9be <unknown>
#4 0x5581d9c401a4 <unknown>
#5 0x5581d9c3fccf <unknown>
#6 0x5581d9c383d3 <unknown>
#7 0x5581d9c089ce <unknown>
#8 0x5581d9c09d51 <unknown>
#9 0x5581d9e447b6 <unknown>
#10 0x5581d9e46d8e <unknown>
#11 0x5581d9e4758d <unknown>
#12 0x5581d9e2dd7e <unknown>
#13 0x5581d9e47c7c <unknown>
#14 0x5581d9e217a8 <unknown>
#15 0x5581d9e62e58 <unknown>
#16 0x5581d9e62ff8 <unknown>
#17 0x5581d9e7d6d8 <unknown>
#18 0x7f4551ef8609 <unknown>
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1874415
Title:
[snap] chromedriver doesn't work without --headless under Wayland
Status in chromium-browser package in Ubuntu:
Fix Released
Bug description:
Since I upgraded my Ubuntu 19.04 laptop to Ubuntu 19.10 I've been
unable to run Robot Framework tests using SeleniumLibrary with Chrome.
I keep getting errors from chromedriver:
Parent suite setup failed:
WebDriverException: Message: unknown error: Chrome failed to start: exited
abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location
/snap/chromium/current/command-chromium.wrapper is no longer running, so
ChromeDriver is assuming that Chrome has crashed.)
Things work somewhat better when I ask chromium to run in headless mode,
although I still get weird failures partway through the test suite (I think on
the first test that uses Select Window): TimeoutException: Message: timeout:
Timed out receiving message from renderer: 300.000.
It would be easier to debug this if I could _see_ what the browser is
doing, which brings us back to the original problem: non-headless
chromium doesn't work in 19.10.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1874415/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp