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

边栏推荐
猜你喜欢

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

IP数据包格式(ICMP协议与ARP协议)

Cloud computing - osi seven layers and TCP\IP protocol

Growth: IT Operations Trends Report

LinkSLA insists that users come first and creates a sustainable operation and maintenance service plan

network issue?Service packet loss?This is enough

Mongodb query analyzer parsing

IP地址及子网的划分

【Day8】RAID Disk Array

Why can't I add a new hard disk to scan?How to solve?
随机推荐
[ingress]-ingress使用tcp端口暴露服务
正则表达式小实例--去掉字符串中间和两边的空格
IP地址及子网的划分
Introductory document 05-2 use return instructions the current task has been completed
Proprietary host CDH
网络不通?服务丢包?看这篇就够了
What's the point of monitoring the involution of the system?
磁盘管理与文件系统
解决这三大问题,运维效率将超90%的医院
时间复杂度和空间复杂度
Unity realizes first-person roaming (nanny-level tutorial)
Network wiring and digital-to-system conversion
sql server 重复值在后面计数
Image compression failure problem
智能运维会取代人工运维吗?
Regular expression small example - get number character and repeated the most
路由器和静态路由的配置
Getting Started Doc 06 Adding files to a stream
Advantages of overseas servers
Getting Started Documentation 12 webserve + Hot Updates