human
Splinter or Selenium: Can we get current html page after clicking a button?
assistant
Here is some code to get the html from the current web page of a Selenium driver

driver.execute_script('return document.documentElement.outerHTML;')

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