def local_options(webdriver):
    """
    This method adds options to webriver and uses it as chrome_options working in local
    environment. It also returns list with chrome_options and driver_path as arguments.
    """
    chrome_options = webdriver.ChromeOptions()
    driver_path = "/Users/micha/Documents/GitHub/fitness_app/chromedriver"
    chrome_options.add_argument("--window-size=1280x1696")
    chrome_options.add_argument("--disable-dev-shm-usage")
    arg_list = [chrome_options, driver_path]
    return arg_list