python get html of selenium web element code example Example: python selenium get html content element.get_attribute('innerHTML')