AutoClicker

一个自动对网页元素(按钮,链接等)进行重复点击的脚本,可以利用到春节刷票,大学选课,双十一抢购等场景中。

< Feedback on AutoClicker

Question/comment

§
Posted: 2019-02-12

How does it work for onclick event?

The code works for other button except for this one. The HTML for the click item is ###Next 100 ####. And the number after "viewNext" changed everytime. I also tried with modifying the Xpath as "//*[@id="headlineHeader33"]/table/tbody/tr/td/a[2]" But it does not work, showing error of cannot find the objective. How can i make it work?

c0ny1Author
§
Posted: 2019-02-19

如果方便的话,请提供具体的情况。另外如果页面一直变的话,可能要点击的目标按钮的xpath是变化的,所以会出现你说的情况。这种情况推荐使用其他方式来定位(插件支持5种定位)。

Post reply

Sign in to post a reply.