def setup_module(m):
    global driver
    driver = SeleneDriver.wrap(get_test_driver())
    global GIVEN_PAGE
    GIVEN_PAGE = GivenPage(driver)
    global WHEN
    WHEN = GIVEN_PAGE
Exemple #2
0
def setup_module(m):
    global driver
    driver = SeleneDriver.wrap(
        webdriver.Chrome(ChromeDriverManager().install()))
    global GIVEN_PAGE
    GIVEN_PAGE = GivenPage(driver)
    global WHEN
    WHEN = GIVEN_PAGE
Exemple #3
0
def setup_module(m):
    driver = webdriver.Chrome(ChromeDriverManager().install())
    browser.set_driver(driver)
    global GIVEN_PAGE
    GIVEN_PAGE = GivenPage(driver)