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

边栏推荐
- 干货!教您使用工业树莓派结合CODESYS配置EtherCAT主站
- Billions of IT operations in the market, the product by strength to speak
- LeetCode Interview Questions
- IP address and subnet division
- Proprietary host CDH
- Insight into the general trend of the Internet, after reading this article, you will have a thorough understanding of Chinese domain names
- ALC实验
- Wireshark packet capture and common filtering methods
- spark operator-wholeTextFiles operator
- wc、grep、tar、vi/vim
猜你喜欢
随机推荐
交换机原理
[问题已处理]-jenkins流水线checkout超时
IP packet format (ICMP protocol and ARP protocol)
Spark source code - task submission process - 6-sparkContext initialization
I/O performance and reliability
The problem of calling ds18b20 through a single bus
The Servlet to jump to the JSP page, forwarding and redirection
Account and Permission Management
The spark operator - coalesce operator
[Paper Intensive Reading] The relationship between Precision-Recall and ROC curves
路由器和静态路由的配置
Wechat applet page jump to pass parameters
LinkSLA坚持用户第一,打造可持续的运维服务方案
wc、grep、tar、vi/vim
5分钟完成mysql离线安装
Tencent Cloud Message Queue CMQ
逻辑卷创建
Browser Storage WebStorage
Network wiring and digital-to-system conversion
spark source code-RPC communication mechanism









