def load_likes(driver, profile_url):
    """
    Loads the page that lists all pages you like

    Args:
        driver: seleniumrequests.Chrome Driver instance

    Returns:
        None
    """

    likes_link_xpath = "//div[normalize-space(text())='Likes']/../..//a[contains(@href, 'app_section')]"

    all_likes_link_xpath = "//div[normalize-space(text())='All Likes']/../../../..//a[contains(@href, 'app_collection')]"

    driver.get(force_mobile("{0}/about".format(profile_url)))

    scroll_until_element_exists(driver, "//div[text()='Likes']")

    likes_link_el = driver.find_element_by_xpath(likes_link_xpath)

    driver.get(likes_link_el.get_attribute("href"))

    wait_xpath(driver, all_likes_link_xpath)

    all_likes_link_el = driver.find_element_by_xpath(all_likes_link_xpath)

    all_likes_link = all_likes_link_el.get_attribute("href")

    driver.get(all_likes_link)

    Loads the page that lists all pages you like

    Args:
        driver: seleniumrequests.Chrome Driver instance

    Returns:
        None
    
deletefb/tools/likes.py