def test_html_snapshot_with_prefix(browser, app_url):
    """Should add the prefix to the snapshot filename"""
    browser.visit(app_url)

    filename = browser.html_snapshot(name="foobar")
    assert "foobar" in filename
Should add the prefix to the snapshot filename
tests/tests_webdriver/test_html_snapshot.py