使用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方法
  • 热门搜索
    518000是哪里的邮编 如何去掉脸上的黄褐斑 南京旅游局 0411是哪里的区号 准生证如何办理 神经衰弱失眠怎么治疗 深圳高铁站在哪里 居住证如何办理 路由器和猫的区别 邮轮旅游攻略