文章详情页
python - 这种页面怎么定位呢?
浏览:82日期:2022-08-16 15:06:38
问题描述
尝试定位如下标签和元素 使用xpath报错
应该怎么定位呢?使用selenium的xpath定位方法 时而成功时而失败==
问题解答
回答1:你应该放下代码,我猜是内容还没加载你就 xpath了, 你可以试下xpath前 sleep(5)
相关文章:
1. angular.js - react的redux和vue的vuex,angular呢2. javascript - 我写的href跳转地址不是百度,为什么在有的机型上跳转到百度了,有的机型跳转正确3. angular.js - vue/react 渲染内容抖动4. 新手学习vue和node.js的困惑5. python socket 如何接收tcp/ip byte 格式的数据?6. html - 自学php 遇到代码不执行直接在网页上显示 望各位大神不吝赐教7. python - beautifulSoup4 .select(’.bnrName’) 取不到到 text 文字8. 与远程浏览器通信时出错。它可能已经死了。Selenium Web驱动程序9. html - node-module文件有两个在我的项目文件里10. angular.js - webstorm angular 语法没有错误,但有红色波浪线警告?
排行榜
