def test_click_intercepted_fails(browser, app_url):
    """Intercepted clicks that never unblock should raise an error."""
    browser.visit(app_url + "click_intercepted")

    with pytest.raises(WebDriverException):
        browser.find_by_id("overlapped2").click()
Intercepted clicks that never unblock should raise an error.
tests/tests_webdriver/test_element_wd.py