1.Chromium和Driver安装
sudo apt update && sudo apt install chromium chromium-driver
2.复制一份到当前用户目录
cp /usr/bin/chromedriver /home/myuser/.local/share/undetected_chromedriver/chromedriver_copy
3. Python启动代码
import undetected_chromedriver as uc driver = uc.Chrome( driver_executable_path="/home/myuser/.local/share/undetected_chromedriver/chromedriver_copy" ) driver.get('https://nowsecure.nl')
标签:myuser,sudo,driver,undetected,chromedriver,chromedrive,Ubuntu,share From: https://www.cnblogs.com/hicoffee/p/17499197.html