def test_create_and_use_contains(browser, app_url):
    """Should be able to create many cookies at once as dict"""
    browser.visit(app_url)

    cookies = {"sha": "zam"}
    browser.cookies.add(cookies)

    assert "sha" in browser.cookies
    assert "foo" not in browser.cookies
Should be able to create many cookies at once as dict
tests/test_all_drivers/test_cookies.py