当前位置:网站首页>Update chromedriver driver programming skills │ selenium
Update chromedriver driver programming skills │ selenium
2022-08-11 00:57:00 【Geek Flying Rabbit】
View browser version
seleniumTo use thechromedriverdriver, the version must be correct- Enter
chrome://version in your browser's navigation bar - You can see that the current browser version is
98.0.4758.82

Download driver
- Driver download address: http://chromedriver.storage.googleapis.com/index.html
- Find the folder of the corresponding version to enter, click on your own system to download
- It contains multiple versions of drivers for
linux,mac,windows - If you are using the
macversion, selectmac, wherem1represents theM1chipThe version ofmac, if you arewindows, just downloadwin32


Install driver
- After decompression, put it in the specified directory, if there is an old version, just overwrite it
macinstallation directory:/usr/local/binwindwosinstallation directory:python installation directory/Scripts/

Is the installation successful
- Run directly in the black window:
chromedriver --version, see if the version corresponds to it - Or write a simple automated test code:
webdriver.Chrome().get(url), check if it works normally

边栏推荐
- WebView2 通过 PuppeteerSharp 实现RPA获取壁纸 (案例版)
- 单片机人机交互--矩阵按键
- 【js】获取当前时间的前后n天或前后n个月(时分秒年月日都可)
- 【Video】Report Sharing | 2021 Insurance Industry Digital Insights
- 【pypdf2】合并PDF、旋转、缩放、裁剪、加密解密、添加水印
- 编程技巧│selenium 更新 chromedriver 驱动
- How to easily obtain the citation format of references?
- 【考虫 六级英语】语法课笔记
- Navicat 16-数据库工具
- 【21天学习挑战赛】折半插入排序
猜你喜欢

Software Testing Certificate (1) - Software Evaluator

构建资源的弹性伸缩

Introduction to Qt (6) - Implementation of the lottery system

20张图,全面掌握MVCC原理!

YOLOv5的Tricks | 【Trick11】在线模型训练可视化工具wandb(Weights & Biases)

Use mysql statement to operate data table (table)

【ASM】字节码操作 ClassWriter COMPUTE_FRAMES 的作用 与 visitMaxs 的关系

How to easily obtain the citation format of references?

虚拟电厂可视化大屏,深挖痛点精准减碳

Which foreign language journals and conferences can be submitted for software engineering/system software/programming language?
随机推荐
两个链表的第一个公共节点——LeetCode
[GXYCTF2019]BabySQli
Sub-database sub-table ShardingSphere-JDBC notes arrangement
MySQL进阶查询
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 2 DGHJKL Problem Solution
apache+PHP+MySQL+word press,安装word press时页面报错?
R language multiple linear regression, ARIMA analysis of the impact of different candidates in the United States on the economic GDP time series
力扣------使用最小花费爬楼梯
url转成obj或者obj转成url的方法
MySQL索引与事务
Kunpeng compilation and debugging and basic knowledge of native development tools
复制带随机指针的链表——LeetCode
Shell编程三剑客之sed
WebView2 通过 PuppeteerSharp 实现RPA获取壁纸 (案例版)
微信小程序强制更新版本
electron -autoUpdater 更新
WinForm(五)控件和它的成员
what is an array
dump_stack ()
Lens filter---about day and night dual-pass filter