如何详细构建SpringBoot Selenium网页截图转换图片的完整环境?
- 内容介绍
- 文章标签
- 相关推荐
本文共计363个文字,预计阅读时间需要2分钟。
1. 环境准备:需要安装 Chrome 浏览器、ChromeDriver 和 Selenium 客户端。
1. 环境准备
需要有 chrome 浏览器 + chrome driver + selenium 客户端
离线 chrome 下载地址
# 64位 linux 系统 dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm # 64位 weindow 系统 www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win64 # 32位 weindow 系统 www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win # 官网 chromedriver chromedriver.storage.googleapis.com/index.html # 淘宝 chromedriver 镜像 npm.taobao.org/mirrors/chromedriver/
说明:chrome 和 chromedriver 版本需要一致
1.2 查看 chrome 版本信息。
本文共计363个文字,预计阅读时间需要2分钟。
1. 环境准备:需要安装 Chrome 浏览器、ChromeDriver 和 Selenium 客户端。
1. 环境准备
需要有 chrome 浏览器 + chrome driver + selenium 客户端
离线 chrome 下载地址
# 64位 linux 系统 dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm # 64位 weindow 系统 www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win64 # 32位 weindow 系统 www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win # 官网 chromedriver chromedriver.storage.googleapis.com/index.html # 淘宝 chromedriver 镜像 npm.taobao.org/mirrors/chromedriver/
说明:chrome 和 chromedriver 版本需要一致
1.2 查看 chrome 版本信息。

