[Solved] deepin python Message: unknown error: cannot find Chrome binary

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
try:
   # browser = webdriver.Chrome('Here is the path to chrome')
    s = Service(r"/opt/apps/cn.google.chrome/files/chrome")
    driver = webdriver.Chrome(service=s)
    driver.get('https://www.baidu.com')
except Exception as e:
    print(e)

When running this code, an error is reported. You need to put the chrome file and chromedriver in the same directory

Just add the path

Read More: