当前位置:网站首页>selenium学习
selenium学习
2022-08-05 05:24:00 【星星本来就很美】
让程序连接到浏览器, 让浏览器来完成各种复杂的操作,只接受最终的结果
selenium: 自动化测试工具
可以打开浏览器,然后像人一样去操作浏览器
从selenium中直接提取网页上的各种信息
环境搭建:
1.pip install selenium -i
2.下载浏览器驱动
一、查看Chrome浏览器版本号

二、下载驱动网址,选择相应版本
地址:http://npm.taobao.org/mirrors/chromedriver/

3.把解压缩的浏览器驱动 chromedriver 放在python解释器所在的文件夹
4.使用

边栏推荐
- What impact does CIPU have on the cloud computing industry?
- Billions of IT operations in the market, the product by strength to speak
- Why can't I add a new hard disk to scan?How to solve?
- The spark operator - coalesce operator
- Into the pre-service, thought they play so flowers
- [Day1] (Super detailed steps) Build a soft RAID disk array
- 网络层协议介绍
- Will intelligent operation and maintenance replace manual operation and maintenance?
- selenium模块的操作之拉钩
- ALC实验
猜你喜欢

I/O性能与可靠性
时间复杂度和空间复杂度

Wireshark packet capture and common filtering methods

Autoware--Beike Tianhui rfans lidar uses the camera & lidar joint calibration file to verify the fusion effect of point cloud images

Getting Started Doc 06 Adding files to a stream

One-arm routing and 30% switch

By solving these three problems, the operation and maintenance efficiency will exceed 90% of the hospital

技术分享杂七杂八技术

静态路由

RAID disk array
随机推荐
产品学习资料
浏览器存储WebStorage
Xiaodu Xiaodu is here!
NIO工作方式浅析
[Day5] Soft and hard links File storage, deletion, directory management commands
微信小程序页面跳转传参
Mina的长连接和短连接
磁盘管理与文件系统
sql server 重复值在后面计数
Will intelligent operation and maintenance replace manual operation and maintenance?
[Paper Intensive Reading] The relationship between Precision-Recall and ROC curves
spark source code - task submission process - 5-CoarseGrainedExecutorBackend
el-autocomplete使用
ACLs and NATs
网络布线与数制转换
7步完成云上监控
Configuration of TensorFlow ObjecDetectionAPI under Anaconda3 of win10 system
单臂路由与三成交换机
js dynamically get screen width and height
Proprietary host CDH