def test_create_and_get_all_cookies(browser, app_url):
    """Should be able to create some cookies and retrieve them all"""
    browser.visit(app_url)

    browser.cookies.delete_all()
    browser.cookies.add({"taco": "shrimp"})
    browser.cookies.add({"lavar": "burton"})

    assert 2 == len(browser.cookies.all())

    browser.cookies.delete_all()

    assert {} == browser.cookies.all()
Should be able to create some cookies and retrieve them all
tests/test_all_drivers/test_cookies.py