已解决
macOS - 使用 chromedriver
来自网友在路上 123823提问 提问时间:2023-09-29 09:38:17阅读次数: 23
最佳答案 问答题库238位专家为你答疑解惑
文章目录
- 下载对应的 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 (四)
放假了,没人看博客了
查看全文
99%的人还看了
相似问题
- flink1.13.6版本的应用程序(maven版)
- 技术分享| gcc版本升级到5.2
- 基于 Glibc 版本升级的 DolphinDB 数据查询性能优化实践
- 解决requests 2.28.x版本SSL错误:证书验证失败
- UE5和UE4版本更新重大改变汇总。
- Docker build报错总结,版本过新大避雷!
- K8S1.23.5部署(此前1.17版本步骤囊括)及问题记录
- Mongodb3.4升级高版本mongoTemplate.executeCommand报错The cursor option is required
- onnx模型转换opset版本和固定动态输入尺寸
- centos安装指定版本docker
猜你感兴趣
版权申明
本文"macOS - 使用 chromedriver":http://eshow365.cn/6-15374-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!