当前位置: 首页 > news >正文

macOS - 使用 chromedriver

文章目录

    • 下载对应的 chromedriver


下载 Chrome

https://www.google.com/chrome/


查看 版本


下载对应的 chromedriver

http://chromedriver.storage.googleapis.com/index.html
https://chromedriver.chromium.org/downloads


移动

sudo mv chromedriver /usr/local/bin/ 

$ chromedriver --version
ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052})$ chromedriver -h
Usage: chromedriver [OPTIONS]Options--port=PORT                     port to listen on--adb-port=PORT                 adb server port--log-path=FILE                 write server log to file instead of stderr, increases log level to INFO--log-level=LEVEL               set log level: ALL, DEBUG, INFO, WARNING, SEVERE, OFF--verbose                       log verbosely (equivalent to --log-level=ALL)--silent                        log nothing (equivalent to --log-level=OFF)--append-log                    append log file instead of rewriting--replayable                    (experimental) log verbosely and don't truncate long strings so that the log can be replayed.--version                       print the version number and exit--url-base                      base URL path prefix for commands, e.g. wd/url--readable-timestamp            add readable timestamps to log--enable-chrome-logs            show logs from the browser (overrides other logging options)--bidi-mapper-path              custom bidi mapper path--allowed-ips=LIST              comma-separated allowlist of remote IP addresses which are allowed to connect to ChromeDriver--allowed-origins=LIST          comma-separated allowlist of request origins which are allowed to connect to ChromeDriver. Using `*` to allow any host origin is dangerous!

小发现

在低版本的 chromedriver ,如 90.x 上,使用 selenium,a 标签不可 click;在 99.x 就可以。


伊织 2023-09-28 (四)
放假了,没人看博客了

http://www.lryc.cn/news/178087.html

相关文章:

  • 项目进展(四)-双电机均可驱动,配置模拟SPI,调平仪功能初步实现!
  • 《学术小白学习之路13》基于DTM和主题共现网络——实现主题时序演化网络分析(数据代码在结尾)
  • 实验三十三、三端稳压器 LM7805 稳压性能的研究
  • 第三章 软件架构
  • 怎么保护苹果手机移动应用程序ipa中文件安全?
  • 中秋节快乐
  • 【记录文】Android自定义Dialog实现圆角对话框
  • 架构案例2022(四十二)
  • kafka 集群搭建 常用命令
  • 【python】numpy库
  • jvm垃圾收集算法
  • Arm机密计算架构技术(Armv9 CCA) 白皮书
  • Magisk Delta以及EdXposed工具在逍遥模拟器上安装教程
  • The Reversal Curse: LLMs trained on “A is B“ fail to learn “B is A“
  • 专栏更新情况:华为流程、产品经理、战略管理、IPD
  • 微软(TTS)文本转语音服务API实现
  • 防火墙firewalld
  • SW线光源是真实的(点光源)
  • Vue Router的安装
  • ROS架构设计
  • JSON.toJSONString() 解析之后 出现“$ref“:“$[x].xxx“
  • 2023研究生数学建模E题思路+模型+代码+论文(持续更新中) 出血性脑卒中临床智能诊疗建模
  • 云可观测性安全平台——掌动智能
  • [ruby on rails] postgres sql explain 优化
  • YOLOv7改进:GAMAttention注意力机制
  • 83、SpringBoot --- 下载和安装 MSYS2、 Redis
  • 用css画一个半圆弧(以小程序为例)
  • redis介绍
  • 数学建模常用模型
  • Linux 基本语句_5_创建静态库|动态库