Selenium is a Python module for browser automation. You can use it to grab html code, what webpages are made of: HyperText Markup Language (HTML).
To get it, first start the web browser and load the page. Then you can fetch it. For this to work, a web driver must be installed.
The code below starts the Firefox web rbowser, opens a webpage with the get() method and finally stores the webpage html with browser.page_source.