selenium模块入门

一、selenium

selenium是一个用于web应用程序自动化测试工具,selenium测试直接运行在浏览器。

二、selenium的运用场景以及安装

selenium支持主流浏览器

selenium支持Java、python、ruby、c#,JavaScript、c++等多种语言

selenium支持Linux、Windows、mac等多系统

selenium在爬虫中用来获取动态网页中动态加载数据

安装selenium

bash 复制代码
pip3 install selenium

三、selenium驱动器下载

chrome版本查询:在浏览器地址栏输入

bash 复制代码
chrome://version/

找到对应的地址

bash 复制代码
https://registry.npmmirror.com/binary.html?path=chrome-for-testing

下载selenium

bash 复制代码
pip3 install selenium
相关推荐
软件测试-阿涛8 小时前
【性能测试】Jmeter+Grafana+InfluxDB+Prometheus Windows安装部署教程
测试工具·jmeter·性能优化·压力测试·grafana·prometheus
小马哥编程10 小时前
如何解决 undetected_chromedriver 启动慢问题
chrome·selenium·ui
惜.己1 天前
pytest中使用skip跳过某个函数
开发语言·python·测试工具·pytest
慧都小项1 天前
自动化UI测试工具TestComplete的AI双引擎:即时数据集 + 自愈测试
自动化测试·测试工具·llm·数据驱动测试·hipaa标准
alien爱吃蛋挞1 天前
Postman
测试工具·postman
程序员小远1 天前
Pytest+Selenium UI自动化测试实战实例
自动化测试·软件测试·python·selenium·测试工具·ui·pytest
Feng.Lee2 天前
接口测试Postman工具高级使用技巧
功能测试·测试工具·lua·postman·可用性测试
bestsun9993 天前
Notepad++工具操作技巧
测试工具·notepad++