"""The functions below identify extensibility points that the service infrastructure
can reimplement at crawl time.
"""

import selenium


def send_keys(webelement, value):
    selenium.webdriver.remote.webelement.WebElement.send_keys(webelement, value)


def user_agent():
    return (
        'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) '
        'Chrome/73.0.3683.86 Safari/537.36'
    )


# what about authenticated proxy support?
def proxy(paranoia_level):
    return (None, None)

"""The functions below identify extensibility points that the service infrastructure
may reimplement at crawl time.
"""

import selenium


def send_keys(webelement, value):
    selenium.webdriver.remote.webelement.WebElement.send_keys(webelement, value)


def user_agent():
    return (
        'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) '
        'Chrome/73.0.3683.86 Safari/537.36'
    )


def proxy(paranoia_level):
    return (None, None)

clean up code comments