def test_create_some_cookies_and_delete_them_all(browser, app_url):
    """Should be able to delete all cookies"""
    browser.visit(app_url)

    browser.cookies.add({"whatever": "and ever"})
    browser.cookies.add({"anothercookie": "im bored"})
    browser.cookies.delete_all()

    assert {} == browser.cookies
Should be able to delete all cookies
tests/test_all_drivers/test_cookies.py