@classmethod
def setUpClass(cls):
    'Launch the webdriver of choice with selected options(see browserconfig.py).\n        Then login using pickled cookies(see tests/pickledlogin.py).'
    if (browserconfig.current_browser in ['chrome', 'firefox']):
        cls.driver = browserconfig.driver_runner(executable_path=browserconfig.driver_path, desired_capabilities=browserconfig.capabilities)
    elif (browserconfig.current_browser == 'edge'):
        cls.driver = browserconfig.driver_runner(executable_path=browserconfig.driver_path, capabilities=browserconfig.capabilities)
    tests.pickledlogin.pickled_login(cls.driver)
Launch the webdriver of choice with selected options(see browserconfig.py).
Then login using pickled cookies(see tests/pickledlogin.py).
@classmethod
def setUpClass(cls):
    'Launch the webdriver of choice with selected options(see browserconfig.py).\n        Then login using pickled cookies(see tests/pickledlogin.py).'
    if (browserconfig.current_browser in ['chrome', 'firefox']):
        cls.driver = browserconfig.driver_runner(executable_path=browserconfig.driver_path, desired_capabilities=browserconfig.capabilities)
    elif (browserconfig.current_browser == 'edge'):
        cls.driver = browserconfig.driver_runner(executable_path=browserconfig.driver_path, capabilities=browserconfig.capabilities)
    tests.pickledlogin.pickled_login(cls.driver)