Coder Social home page Coder Social logo

移动到元素问题 about easyspider HOT 4 CLOSED

naibowang avatar naibowang commented on May 6, 2024
移动到元素问题

from easyspider.

Comments (4)

NaiboWang avatar NaiboWang commented on May 6, 2024

首先就是回到第一个元素不需要鼠标移动到元素这个操作,页面上只要第一个元素还存在就可以直接进行其他操作。

那可能真的就是找不到这个元素,我打开你这个页面是找不到的,是不是XPath有问题?你用设计任务时自带的XPath Helper插件定位一下这个元素看能不能找到。

而且有的时候设计任务的时候能找到,执行任务的时候页面就找不到这个元素了也很正常,另一种情况就是这个元素是只有鼠标移动到某位置或者在屏幕可见区域的时候才能显示出来,其他时候会被删掉,所以要审查一下元素。

from easyspider.

oooing avatar oooing commented on May 6, 2024

我试过不滚动页面是可以取到的,滚动后就不行了,同样的xpath,你说的几种情况我再试试,感谢回复!

from easyspider.

oooing avatar oooing commented on May 6, 2024

是它把元素删了,我现在滚几屏后,在用移动到元素回滚到首屏,就可以继续操作了,感谢

from easyspider.

NaiboWang avatar NaiboWang commented on May 6, 2024

好的👌🏻

from easyspider.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.