Comments (4)
首先就是回到第一个元素不需要鼠标移动到元素这个操作,页面上只要第一个元素还存在就可以直接进行其他操作。
那可能真的就是找不到这个元素,我打开你这个页面是找不到的,是不是XPath有问题?你用设计任务时自带的XPath Helper插件定位一下这个元素看能不能找到。
而且有的时候设计任务的时候能找到,执行任务的时候页面就找不到这个元素了也很正常,另一种情况就是这个元素是只有鼠标移动到某位置或者在屏幕可见区域的时候才能显示出来,其他时候会被删掉,所以要审查一下元素。
from easyspider.
我试过不滚动页面是可以取到的,滚动后就不行了,同样的xpath,你说的几种情况我再试试,感谢回复!
from easyspider.
是它把元素删了,我现在滚几屏后,在用移动到元素回滚到首屏,就可以继续操作了,感谢
from easyspider.
好的👌🏻
from easyspider.
Related Issues (20)
- Ubuntu下无头模式运行 HOT 1
- MacOS版本循环点击每个链接,点击模拟为右键不能正确点击元素 HOT 4
- 循环嵌套时,内层循环可否继承外层循环的Xpath相对路径? HOT 1
- 任务设置的采集网址是http,但是运行时打开的却是https HOT 2
- 全选按钮点击不了,下载的文件能看见却打不开 HOT 1
- 写入数据库不会自动关闭的问题 HOT 11
- 请问怎么获取 输入的网址或输入的参数 到 提取数据 输出到excel ? HOT 10
- EasySpider在使用了diable-devtool的网站无法正常使用 HOT 1
- 0.6版本貌似有bug HOT 2
- 页面元素某个字段为图片的时候,复杂图片格式(加密),可否直接截图保存? HOT 1
- 试图搭建环境改源码的时候发现问题,能否提供对应环境版本,例如python版本等 HOT 4
- 看到新版本支持手机网页采集,可否支持APP,因为有些软件时支持APP的,比如Auto.js HOT 2
- 执行任务后,不关闭打开的浏览器,然后通过post调用多次填充表单,能实现吗 HOT 1
- 终端有这样的报错信息,似乎并没有影响爬取结果,但想搞清楚是什么原因 HOT 1
- 采集文章,多张图片,会有多条记录? HOT 3
- 计划任务-长时间运行后,不能正常打开浏览器 HOT 3
- 是否支持填写字母或数字的验证吗识别?如下图所示 HOT 1
- 创建新任务跳转到网页时出现错误 HOT 1
- 循环列表,点击时,出现这种提示的弹框,会导致下面的点击或者翻页失效,是bug吗 HOT 1
- 打开http网址时,默认添加了s,导致无法打开 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easyspider.