google chromeDriver 地址

#chrome driver 下载地址

https://getwebdriver.com/chromedriver

#chrome brower下载地址

https://googlechromelabs.github.io/chrome-for-testing/

centos 安装的dockerFile的部分命令:

#安装browser

wget https://dl.google.com/linux/chrome/rpm/stable/x86_64/google-chrome-stable-124.0.6367.91-1.x86_64.rpm &&

yum localinstall -y ./google-chrome-stable-124.0.6367.91-1.x86_64.rpm &&

rm -f ./google-chrome-stable-124.0.6367.91-1.x86_64.rpm &&

#安装chrome driver

wget https://storage.googleapis.com/chrome-for-testing-public/124.0.6367.91/linux64/chromedriver-linux64.zip &&

unzip chromedriver-linux64.zip &&

mv -f chromedriver-linux64 /usr/bin/ &&

chmod +x /usr/bin/chromedriver-linux64/ &&

cp /usr/bin/chromedriver-linux64/chromedriver /usr/bin/ && ]

#安装openssl 1.1.1K

wget https://www.openssl.org/source/openssl-1.1.1k.tar.gz &&

tar zxvf openssl-1.1.1k.tar.gz &&

cd openssl-1.1.1k/ &&

./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl shared zlib &&

make &&

make install &&

ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl &&

echo "/usr/local/openssl/lib" > /etc/ld.so.conf.d/openssl.conf &&

ldconfig

相关推荐
zzzsde6 分钟前
【c++】深入理解string类(4)
开发语言·c++
郝学胜-神的一滴44 分钟前
Effective Python 第44条:用纯属性与修饰器取代旧式的 setter 与 getter 方法
开发语言·python·程序人生·软件工程
嫂子的姐夫2 小时前
11-py调用js
javascript·爬虫·python·网络爬虫·爬山算法
程序员莫小特2 小时前
老题新解|计算2的N次方
开发语言·数据结构·算法·青少年编程·信息学奥赛一本通
图亚Vanta3 小时前
Python入门第一课:Python安装、VSCode/Pycharm配置
vscode·python·pycharm
睿思达DBA_WGX3 小时前
使用 python-docx 库操作 word 文档(2):在word文档中插入各种内容
python·word
white-persist3 小时前
XXE 注入漏洞全解析:从原理到实战
开发语言·前端·网络·安全·web安全·网络安全·信息可视化
kunge1v54 小时前
学习爬虫第五天:自动化爬虫
爬虫·python·自动化
人生导师yxc4 小时前
Java中Mock的写法
java·开发语言
m***记4 小时前
Python 自动化办公的 10 大脚本
windows·python·自动化