python selenium scroll all down

from selenium import webdriver
import time

browser = webdriver.Firefox()
browser.get("https://en.wikipedia.org")
browser.execute_script("window.scrollTo(0,document.body.scrollHeight)")
time.sleep(3)
browser.close()

Here is what the above code is Doing:
1. We start by importing the webdriver module from selenium.
2. We then create a new instance of Firefox.
3. We then tell the browser to open the Wikipedia home page.
4. We then tell the browser to scroll to the bottom of the page.
5. We then tell the browser to wait 3 seconds before closing.
6. We then close the browser.