code: def html(self):
          
          try:
              body = self.get_elm(tag_name='body')
          except selenium_exc.NoSuchElementException:
              return None
          else:
              return body.get_attribute('innerHTML')
docs: Returns ``innerHTML`` of whole page. On page have to be tag ``body``.
  
          .. versionadded:: 2.2