-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document domain option for cookie commands #4824
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -39,6 +39,7 @@ Pass in an options object to change the default behavior of `cy.clearCookie()`. | |||
|
|||
| Option | Default | Description | | |||
| --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | |||
| `domain` | Superdomain of the current URL | Clears the cookie from the specified domain | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we link the user to what a superdomain
is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe once there's one to link to as part of #4809? 😬
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would be ideal. Gonna see if I can look into that soon so we at least have a reference
For cypress-io/cypress#24471