网页提示语闪太快的定位问题(selenium)

selenium UI自动化时,提示语闪太快,导致无法获取元素的问题

解决办法

步骤一: F12---》控制台输入debugger

步骤二:对于需要定位的部分,在控制台的debugger处回车,可以定住页面

步骤三:正常定位即可

步骤四: 退出debugger

点击下图中的位置,就可以退出debugger

相关推荐
把头塞进显示器2 天前
电商平台-测试报告
python·selenium·pytest
2601_9622953313 天前
如何python实现网页的自动化
python·selenium·beautifulsoup·requests·网页自动化
程序员小远14 天前
自动化测试用例编写实例详解
自动化测试·软件测试·python·selenium·测试工具·职场和发展·测试用例
2601_9622982715 天前
Python与Selenium结合的Web自动化测试全流程实践教程
自动化测试·python·selenium·web测试·pageobjectmodel
2601_9622982715 天前
【自动化测试】基于Selenium + Python的web自动化框架
自动化测试·python·selenium·测试用例·web框架
2601_9622955816 天前
python+selenium实现自动化测试
自动化测试·python·selenium·学习心得·web端测试
B2_Proxy17 天前
Selenium配置代理IP的完整指南:从启动参数到认证扩展
selenium·测试工具
weixin_4407305017 天前
Playwright介绍、特点、小例子还有与传统selenium的区别
selenium·测试工具·playwright
2601_9623878219 天前
web自动化测试实战教程【selenium/unittest/pytest】【共193课
selenium·pytest·devops·web自动化测试·unittest