That minimal example doesn't run here in a clean 20.04 VM with the
chromium snap. However if I apply this minimal modification to the
script, it succeeds, with and without the headless switch:

    -driver = webdriver.Chrome(options=options)
    +driver_path = "/snap/bin/chromium.chromedriver"
    +driver = webdriver.Chrome(options=options, executable_path=driver_path)

Does this work for you?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874415

Title:
  chromedriver doesn't work with the snap package, without --headless

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1874415/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to