driver.get('link here') time.sleep(2) #Need sleep time to get all html html = driver.page_source print(html)