当前位置:网站首页>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 05 Using cb() to indicate that the current task is complete
- Billions of IT operations in the market, the product by strength to speak
- Mongodb query analyzer parsing
- spark source code - task submission process - 3-ApplicationMaster
- 正则表达式小实例--验证邮箱地址
- [问题已处理]-虚拟机报错contains a file system with errors check forced
- ROS video tutorial
- flink cdc 目前支持Gauss数据库源吗
- In-depth Zabbix user guide - from the green boy
- VLAN详解及实验
猜你喜欢
Cloud computing - osi seven layers and TCP\IP protocol
传输层协议
Hugo builds a personal blog
King power volume LinkSLA, realize operations engineer is happy fishing
The problem of calling ds18b20 through a single bus
ACLs and NATs
干货!教您使用工业树莓派结合CODESYS配置EtherCAT主站
TCP/IP four-layer model
入职前,没想到他们玩的这么花
selenium模块的操作之拉钩
随机推荐
干货!教您使用工业树莓派结合CODESYS配置EtherCAT主站
Transport layer protocol (TCP 3-way handshake)
Spark source code - task submission process - 4-container to start executor
selenium模块的操作之拉钩
What impact does CIPU have on the cloud computing industry?
通过反射获取Class对象的四种方式
单臂路由实验和三层交换机实验
vim教程:vimtutor
The highlight moment of operation and maintenance starts with intelligence
IP address and subnet division
To TrueNAS PVE through hard disk
跨域的十种解决方案详解(总结)
Mongodb查询分析器解析
markdown editor template
Will intelligent operation and maintenance replace manual operation and maintenance?
Billions of IT operations in the market, the product by strength to speak
LeetCode面试题
Tencent greetings function SCF - entry instructions
技术分享杂七杂八技术
[Day1] (Super detailed steps) Build a soft RAID disk array