selenium headless 无头模式慢

selenium设置headless=True发现非常慢,headless=False要快很多。

最后测试发现升级到selenium最新版本,selenium==4.15.2。设置--headless=new,解决了,速度正常了。

新版selenium有了两种headless模式,参见:Headless is Going Away! | Selenium

相关推荐
依旧很淡定1 天前
Selenium(Python)创建Chrome浏览器实例
chrome·python·selenium
小熊出擊1 天前
【pytest】finalizer 执行顺序:FILO 原则
python·测试工具·单元测试·pytest
云闲不收1 天前
接口请求工具对比 apifox apipost swagger postman等
测试工具·postman
sitellla1 天前
Testify Go测试工具包入门教程
git·测试工具·其他·golang
我的xiaodoujiao1 天前
从 0 到 1 搭建 Python 语言 Web UI自动化测试学习系列 9--基础知识 5--常用函数 3
前端·python·测试工具·ui
可可南木2 天前
ICT 数字测试原理 8 - -VCL 的测试参数
开发语言·功能测试·测试工具·pcb工艺
加油20192 天前
爬虫框架: selenium API使用介绍
爬虫·selenium·测试工具
shelter -唯2 天前
基于selenium库的爬虫实战:京东手机数据爬取
爬虫·python·selenium
IDOlaoluo3 天前
Postman-win64-8.6.2-Setup安装教程(附详细步骤,Win64版Postman下载安装指南)
测试工具·postman
运维小菜鸟h3 天前
利用wxpython开发API接口调试工具,类似postman
测试工具·postman