def scrape_whatsapp_and_analyze_db():
    """
    runs the whatsapp web scrapping procedure.
    :param db: the WhatsAppDB object
    """
    # print("create driver")
    driver = Webdriver()  # create new driver
    scraper = WhatsAppWebScraper.WhatsAppWebScraper(driver)  # create new WhatsApp scraper
    scraper.scrape(DB)  # scrape
    print("finished scraping,load headset instructions")
    driver.close()  # close driver
    DB.convert_to_datetime()
    DB.run_data_analysis_and_store_results()