Do you want the Web Browser to scroll to the end of the page while using Python Selenium?
Before you start make sure the Selenium Web Driver is installed and that you have the selenium module installed. The web driver must be the appropriate web driver for the browser (same version). For Firefox that’s the geckoDriver, for Chrome that’s the ChromeDriver. The version of the driver must be intended for the browser version, an outdated version most likely wont work.
The selenium scroll down code is shown below. It cals the method
First the required modules are loaded. You’ll need the selenium module and the time module.
Then initialize the web browser. This can be Firefox or another supported browser (Chrome, Edge, Safari)
Get your webpage wit the get() method, which has a parameter the URL to load.
And finally scroll down the complete body height or a specific height.
If you are new to selenium, then I highly recommend this book.