Why scroll is not working in Selenium?
Selenium’s methods can’t immediately scroll up or down. The Javascript Executor is used for this. Javascript allows the DOM to interact with the elements. The execute script() method in Selenium runs the commands in Javascript.
How to scroll down the page till page end in the Selenium WebDriver?.