添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hello!
Can anyone tell me how can I scroll down at the bottom of the page if I have infinite scrolling and I want to see all results. I have a web page, and I’m filtering through the list and I want to see all the results…until I see the footer. How can I do that?
I tried to use - WebUI.scrollToPosition(0, 9999999) - but the scrolling stopped at the middle of the page. Then I added - WebUI.scrollToPosition(9999999 - 9999999) but nothing changed.
Thank you in advance for your help!

WebUI.scrollToElement(findTestObject('footer'), 30)
WebUI.executeJavaScript('window.scrollTo(0, document.documentElement.scrollHeight)', [])
WebUI.executeJavaScript('window.scrollTo(0, document.body.scrollHeight)', [])
WebUI.executeJavaScript(‘window.scrollTo(0, 923)’, [])