使用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方法
  • 热门搜索
    旅游旅游 云南昆明旅游景点 旅游管理论文 雪乡旅游攻略 江苏旅游地图 去哪旅游好玩 丽江旅游团 成都 旅游 河南省旅游局 山西太原旅游