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
相关推荐
啧不应该啊1 小时前
Python爬虫bs4基本使用
爬虫·python·selenium
qq_433716952 小时前
使用Postman搞定各种接口token实战
自动化测试·软件测试·测试工具·jmeter·web安全·压力测试·postman
媛媛要加油呀3 小时前
Selenium(1)-webUI自动化环境部署,基本元素定位
selenium·测试工具·自动化
卡布达ovo8 小时前
Selenium入门
selenium·测试工具
我是大头鸟8 小时前
Python 使用selenium 4.25 进行爬虫(1)
爬虫·python·selenium
HinsCoder16 小时前
【测试】——Selenium API (万字详解)
自动化测试·笔记·学习·selenium·测试工具·web·测试
傻啦嘿哟16 小时前
自动化测试框架集成:将Selenium集成到pytest与unittest中
selenium·测试工具·pytest
jiaoxingk16 小时前
不会JS逆向也能高效结合Scrapy与Selenium实现爬虫抓取
javascript·爬虫·python·selenium·scrapy
傻啦嘿哟16 小时前
Selenium与数据库结合:数据爬取与存储的技术实践
数据库·selenium·测试工具