使用selenium在chrome打开网页报错

 时间:2024-10-12 03:24:53

1、下载chrome driverchromedriver下载地址:https://sites.google.com/a/chromium.org/chromedriver/downloads

使用selenium在chrome打开网页报错使用selenium在chrome打开网页报错

2、代码中手动设置chrome driver的路径:from selenium import webdriverimport oschromeDriver = "D:\...\chromedriver_win32\chromedriver.exe"os.environ["webdriver.chrome.driver"] = chromeDriverbrower = webdriver.Chrome(chromeDriver)brower.get("https://www.baidu.com")

  • 如何用新版word创建pdf文档
  • SQL Server配置管理器的重新启动
  • Navicat Premium如何新建mysql数据表
  • Cookie中有逗号如何处理 特殊字符处理办法
  • win10 apache无法启动?win10安装apache方法
  • 热门搜索
    星界边境攻略 感觉英文怎么说 韩语我爱你怎么读 没考上大学怎么办 湖南城市学院怎么样 哈弗h2怎么样 怎么化妆好看 荣成旅游 药酒怎么泡 魔女之家攻略