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

边栏推荐
猜你喜欢
随机推荐
Spark source code-task submission process-6.2-sparkContext initialization-TaskScheduler task scheduler
【Day8】RAID Disk Array
sql server 重复值在后面计数
深度 Zabbix 使用指南——来自惨绿少年
网络层协议介绍
The spark operator - coalesce operator
VRRP principle and command
网络不通?服务丢包?看这篇就够了
OpenCV3.0 is compatible with VS2010 and VS2013
I217-V network disconnection problem in large traffic under openwrt soft routing
LinkSLA insists that users come first and creates a sustainable operation and maintenance service plan
LeetCode面试题
selenium模块的操作之拉钩
spark source code - task submission process - 5-CoarseGrainedExecutorBackend
Account and Permission Management
Autoware--Beike Tianhui rfans lidar uses the camera & lidar joint calibration file to verify the fusion effect of point cloud images
Advantages of overseas servers
错误类型:反射。ReflectionException:无法设置属性“xxx”的“类”xxx”与价值“xxx”
Billions of IT operations in the market, the product by strength to speak
[Day6] File system permission management, file special permissions, hidden attributes







