3

Python3.10 在 Windows11 下无法通过 Selenium 调用 Chomedriver 吗?

 2 years ago
source link: https://www.v2ex.com/t/817523
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

Python3.10 在 Windows11 下无法通过 Selenium 调用 Chomedriver 吗?

  CatpnKirk · 1 小时 27 分钟前 · 63 次点击

本人也是菜鸟,最近更新了一下 win11 ,然后装了 python3.10 和 selenium4.1 ,chromedrive 的版本也和本机上的 chrome 版本保持同步,但执行的时候就是什么结果也没有,也没有报错,真是奇怪,求教~

from selenium import webdriver

driver = webdriver.chrome(executable_path = "./chromedriver.exe")
driver.get('https://www.baidu.com')


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK