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

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

解决办法

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

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

步骤三:正常定位即可

步骤四: 退出debugger

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

相关推荐
加油201920 小时前
爬虫框架: selenium API使用介绍
爬虫·selenium·测试工具
shelter -唯1 天前
基于selenium库的爬虫实战:京东手机数据爬取
爬虫·python·selenium
深蓝电商API5 天前
实战破解前端渲染:当 Requests 无法获取数据时(Selenium/Playwright 入门)
前端·python·selenium·playwright
卓码软件测评5 天前
第三方软件验收测试:【AutoIt与Selenium结合测试文件上传/下载等Windows对话框】
windows·功能测试·selenium·测试工具·性能优化·可用性测试
最好的我们!5 天前
解决selenium的EdgeOptions addArguments is not supported问题
selenium·测试工具
万粉变现经纪人6 天前
如何解决 pip install 安装报错 ImportError: cannot import name ‘xxx’ from ‘yyy’ 问题
python·selenium·测试工具·flask·scikit-learn·fastapi·pip
gc_22996 天前
学习Python中Selenium模块的基本用法(18:使用ActionChains操作鼠标)
python·selenium
paid槮7 天前
selenium完整版一览
selenium·测试工具
gc_22997 天前
学习Python中Selenium模块的基本用法(17:使用ActionChains操作键盘)
python·selenium
鱼鱼说测试8 天前
Selenium+python自动化1-环境搭建
python·selenium·自动化