Scroll Down on a div/popup using iMacros?

北城余情 提交于 2019-12-25 08:27:41

问题


I am not able to scroll down using iMacros on the followers page on an Instagram user. The code below scrolls down the whole window, but not the popup that is under the code.

URL GOTO=javascript:window.scrollBy(0,20000)

I think that it is relevant to the div with the class _4gt3b, but I am not an expert and need help.

the div i am trying to scroll down

And here is the link of the page:

https://www.instagram.com/sfktl/followers/

I have searched for this issue a lot and was not able to find any solution. Thanks a lot for any help.


回答1:


If the div class is correct then the EVENT command must work:

EVENT TYPE=KEYPRESS SELECTOR="div._4gt3b" KEY=35


来源:https://stackoverflow.com/questions/38833521/scroll-down-on-a-div-popup-using-imacros

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!