delete_cookie

The command to delete a cookie with the given name.

Syntax

py.delete_cookie(name: str) -> None

Usage

correct usage
py.delete_cookie("foo")
incorrect usage
# Errors, 'delete_cookie' yields None
py.delete_cookie("foo").get_cookie()

Arguments

  • name (str) - The name of the cookie

Yields

  • None

Last updated