def get_beautiful_soup(self, source=None):
        """ BeautifulSoup is a toolkit for dissecting an HTML document
            and extracting what you need. It's great for screen-scraping! """
        from bs4 import BeautifulSoup
        if not source:
            self.wait_for_ready_state_complete()
            source = self.get_page_source()
        soup = BeautifulSoup(source, "html.parser")
        return soup
def get_beautiful_soup ( self , source = None ) : from bs4 import BeautifulSoup if not source : self . wait_for_ready_state_complete ( ) source = self . get_page_source ( ) soup = BeautifulSoup ( source , "html.parser" ) return soup
BeautifulSoup is a toolkit for dissecting an HTML document
            and extracting what you need. It's great for screen-scraping!