简体   繁体   中英

Is it possible to pause and resume like event when scrolling webpage using selenium python?

I using selennium with python to crawl webpage. But I want to pause and resume everytime when scrolling webpage. Is it possible?

You could use an explicit wait or poll for certain elements every time you scroll. I would be interested to know if you are dealing with some lazy loading, where the elements you are looking for are not already in the DOM.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM