Пример #1
0
def test_factory_can_start_browser_maximized(browser_name):
    webdriver = factory._start_driver(browser_name)
    assert webdriver.name == browser_name
Пример #2
0
def test_driver_has_started():
    factory._start_driver("chrome")
    assert factory.driver_has_started("chrome")
    assert factory.driver_has_started("firefox") is False
Пример #3
0
def test_driver_has_started():
    factory._start_driver("chrome")
    assert factory.driver_has_started("chrome")
    assert factory.driver_has_started("marionette") is False