def METHOD_NAME(a_browser):
    a_browser.open(EMPTY_PAGE_URL)
    with pytest.raises(TimeoutException):
        a_browser.element("#does-not-exist").with_(timeout=0.1).should(be.visible)
    expected_path = os.path.join(
        a_browser.config.reports_folder,
        f'{next(a_browser.config._counter) - 1}.html',
    )
    assert os.path.exists(expected_path)
    assert os.path.isfile(expected_path)