当前位置:网站首页>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.使用

边栏推荐
- Getting Started 04 When a task depends on another task, it needs to be executed in sequence
- [Day1] VMware software installation
- 时间复杂度和空间复杂度
- 错误类型:反射。ReflectionException:无法设置属性“xxx”的“类”xxx”与价值“xxx”
- Account and Permission Management
- What impact does CIPU have on the cloud computing industry?
- 线上问题排查流程
- Introductory document 05-2 use return instructions the current task has been completed
- What should I do if the SSL certificate prompts that it is expired or invalid?
- By solving these three problems, the operation and maintenance efficiency will exceed 90% of the hospital
猜你喜欢

TCP/IP four-layer model

教您简单几步实现工业树莓派正确安装RS232转USB驱动

Problems encountered in installing Yolo3 target detection module in Autoware

Operation and maintenance engineer, come and pick up the wool

ACLs and NATs

入职前,没想到他们玩的这么花

Mina的长连接和短连接

IP address and subnet division

Into the pre-service, thought they play so flowers

Getting Started Document 09 Standalone watch
随机推荐
Introductory document 05-2 use return instructions the current task has been completed
线上问题排查流程
Transport layer protocol (TCP 3-way handshake)
Getting Started Document 01 series in order
Hugo builds a personal blog
Into the pre-service, thought they play so flowers
In-depth Zabbix user guide - from the green boy
技术分享杂七杂八技术
Browser Storage WebStorage
Image compression failure problem
运维的高光时刻,从智能化开始
Mina的长连接和短连接
vim教程:vimtutor
ACLs and NATs
Tencent Cloud Message Queue CMQ
Hugo搭建个人博客
Problems encountered in installing Yolo3 target detection module in Autoware
ALC实验
单臂路由实验和三层交换机实验
传输层协议