def _get_page_source(browser, url):
    """
    Get Wikidot page source with a Selenium-powered browser driver.

    :param browser: Selenium webdriver.
    :param url: Url to the page to fetch from.
    :return: A tuple in the following order: (text_page_title, text_page_source)
    """
    browser.get(url)

    elem_more_options_button = browser.find_element_by_id('more-options-button')
    elem_more_options_button.click()

    elem_view_source_button = browser.find_element_by_id('view-source-button')
    elem_view_source_button.click()

    text_page_source = browser.find_element_by_class_name('page-source').text
    text_page_title = browser.find_element_by_id('page-title').text

    return text_page_title, text_page_source