code: def launch_browser(self, soup):
          
          with tempfile.NamedTemporaryFile(delete=False, suffix='.html') as file:
              file.write(soup.encode())
          webbrowser.open('file://' + file.name)
docs: Launch a browser to display a page, for debugging purposes.
  
          :param: soup: Page contents to display, supplied as a bs4 soup object.