human
Get contents of entire page using Selenium
assistant
Here is some code to selenium get the entire `driver` page text

driver.page_source

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.