redhat7.5+selenium+firefox+geckodriver离线部署总结

selenium3.14

firefox56.1

geckodriver0.16

python3.8

1.python离线库下载:

https://pypi.org/project/pytest/#files

geckodriver下载路径:

Releases · mozilla/geckodriver · GitHub

rpm下载路径:

Search the RPM repository on rpmfind.net

2.脚本跑不起来原因可能有:

python版本不对

selenium版本不对(通常升降一个版本,比如4.x------3.x)

firefox和geckodriver对应不上(下载geckodriver时可以看到支持版本,没有就往上下几个版本找找看)

3.firefox56起才开始支持headless参数

相关推荐
freejackman1 天前
【工程化】从“单兵作战”到“多引擎架构”:基于门面模式的重构实战
大数据·数据库·hive·sql·测试工具·设计模式·架构
坐吃山猪1 天前
Python22-PostMan调试MCP
测试工具·postman·mcp
测试界的小码农2 天前
【 AI Agent 软件测试实战(05):任务规划与状态管理,让 Agent 学会拆解复杂测试任务】
人工智能·测试工具
和粒科技4 天前
热重分析仪TG 309 Libra Classic
测试工具
ClouGence5 天前
不搭 Selenium 或 Playwright,怎么测试公司的内网业务?
selenium·测试
smallcelebration6 天前
151 从0开始搭建后端项目
前端·firefox
m0_743697599 天前
CentOS Stream 9 综合实验:FTP、DNS 与 Tomcat 排障
centos·tomcat·firefox
螺丝钉tina10 天前
[Playwright] [02]常用命令与调试:Debug UI、Mode和 Trace Viewer
开发语言·javascript·测试工具·ui·自动化
梧桐16811 天前
14天、31个缺陷、28个测试脚本—用 Claude Code 完成第三方软件测试
人工智能·测试工具
mewowaBc11 天前
postman使用细则
测试工具·postman·偏差