python requests wait for page to load

from requests_html import HTMLSession

s  = HTMLSession()
response = s.get(url)

# prints out fully loaded page content

Here is what the above code is Doing:
1. We create a new HTMLSession object.
2. We use the HTMLSession object to make a GET request to the URL we want to scrape.
3. We render the response to make sure that all of the JavaScript on the page has been executed.
4. We print out the response.