Ejemplo n.º 1
0
def test_factory_can_start_browser_maximized(browser_name):
    webdriver = factory._start_driver(browser_name)
    assert webdriver.name == browser_name
Ejemplo n.º 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
Ejemplo n.º 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