how to get all inner html of an element in python code example Example: python selenium get html content element.get_attribute('innerHTML')