Esempio n. 1
0
def test_terminate_webdriver() -> None:
    d = biw.create_phantomjs_webdriver()
    assert d.service.process is not None
    biw.terminate_webdriver(d)
    assert d.service.process is None
Esempio n. 2
0
def test_terminate_webdriver():
    d = biw.create_phantomjs_webdriver()
    assert d.service.process is not None
    biw.terminate_webdriver(d)
    assert d.service.process is None
Esempio n. 3
0
def test_create_phantomjs_webdriver() -> None:
    d = biw.create_phantomjs_webdriver()
    assert isinstance(d, selenium.webdriver.phantomjs.webdriver.WebDriver)
Esempio n. 4
0
def test_create_phantomjs_webdriver():
    d = biw.create_phantomjs_webdriver()
    assert isinstance(d, selenium.webdriver.phantomjs.webdriver.WebDriver)