久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術文章
文章詳情頁

搭建 springboot selenium 網頁文件轉圖片環境的詳細教程

瀏覽:2日期:2023-05-03 14:10:36

1. 環境準備

需要有 chrome 瀏覽器 + chrome driver + selenium 客戶端

離線 chrome 下載地址

# 64位 linux 系統https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm# 64位 weindow 系統http://www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win64# 32位 weindow 系統http://www.google.cn/chrome/browser/desktop/index.html?standalone=1&platform=win# 官網 chromedriverhttp://chromedriver.storage.googleapis.com/index.html# 淘寶 chromedriver 鏡像https://npm.taobao.org/mirrors/chromedriver/

說明:chrome 和 chromedriver 版本需要一致

1.2 查看 chrome 版本信息。在chrome瀏覽器輸入以下地址

chrome://version/

搭建 springboot selenium 網頁文件轉圖片環境的詳細教程

1.3 例如我選擇的是

搭建 springboot selenium 網頁文件轉圖片環境的詳細教程

2. 將 chromedriver 放到 chrome 安裝目錄下

搭建 springboot selenium 網頁文件轉圖片環境的詳細教程

3. 在 springboot 項目中引入 selenium 依賴

<dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>3.141.59</version> </dependency>

4

參考文獻:

https://blog.csdn.net/l707268743/article/details/80942246

https://www.cnblogs.com/sqy123/p/9057348.html#_labelTop

https://www.cnblogs.com/lfri/p/10542797.html

到此這篇關于搭建 springboot selenium 網頁文件轉圖片環境的詳細教程的文章就介紹到這了,更多相關springboot selenium 網頁文件轉圖片環境內容請搜索好吧啦網以前的文章或繼續瀏覽下面的相關文章希望大家以后多多支持好吧啦網!

標簽: Spring
相關文章:
主站蜘蛛池模板: 土默特右旗| 广水市| 中山市| 宜昌市| 百色市| 许昌县| 甘泉县| 莱阳市| 浠水县| 元阳县| 文昌市| 武隆县| 岑巩县| 东莞市| 榆树市| 吐鲁番市| 偏关县| 囊谦县| 报价| 塔城市| 翁源县| 图木舒克市| 景宁| 娱乐| 雷波县| 翁牛特旗| 泌阳县| 岳池县| 手游| 河池市| 集贤县| 同仁县| 湘乡市| 长垣县| 阳高县| 阜南县| 山东| 淮安市| 高台县| 盐亭县| 汤阴县|