Пример #1
0
def test_should_wait_and_fail_for_incorrect_url():
    config.timeout = 0.1
    with pytest.raises(TimeoutException):
        open_url(start_page)
        wait_to(url("xttp:/"))
Пример #2
0
def test_can_wait_for_exact_url():
    open_url(start_page)
    wait_to(url(driver().current_url))