Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I tried several attempts to scroll the page down until all the results appear, but no way worked for me


What I have tried:

wwww.FindElement(By.XPath("*//[@class='MVVflb-haAclf V0h1Ob-haAclf-d6wfac MVVflb-haAclf-uxVfW-hSRGPd']")).SendKeys(Windows.Forms.Keys.End)

wwww.FindElement(By.XPath("*//[@class='MVVflb-haAclf V0h1Ob-haAclf-d6wfac MVVflb-haAclf-uxVfW-hSRGPd']")).SendKeys(Windows.Forms.Keys.PageDown)

wwww.ExecuteScript("window.scrollTo(0, document.body.scrollHeight);")
Posted
Updated 4-Mar-22 19:50pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900