def test_create_and_access_a_cookie(browser, app_url):
    """Should be able to create and access a cookie"""
    browser.visit(app_url)

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

    assert "zam" == browser.cookies["sha"]
Should be able to create and access a cookie
tests/test_all_drivers/test_cookies.py