def test_forward_to_none_page(request, browser, app_url):
    """lxml-based drivers should not fail when trying to forward to none"""
    request.addfinalizer(browser.quit)

    browser.visit(app_url)
    browser.forward()
    assert app_url == browser.url
lxml-based drivers should not fail when trying to forward to none
tests/test_all_lxml_drivers/test_lxml_drivers.py