Skip to content

Commit 77d5db3

Browse files
chrisbreidingdebrisapron
authored andcommitted
Update cookie commands domain option description (#4861)
1 parent 648aa50 commit 77d5db3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

content/api/commands/clearcookie.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Pass in an options object to change the default behavior of `cy.clearCookie()`.
3939

4040
| Option | Default | Description |
4141
| --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
42-
| `domain` | Superdomain of the current URL | Clears the cookie from the specified domain |
42+
| `domain` | Hostname of the current URL | Clears the cookie from the specified domain |
4343
| `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) |
4444
| `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.clearCookie()` to resolve before [timing out](#Timeouts) |
4545

content/api/commands/clearcookies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Pass in an options object to change the default behavior of `cy.clearCookies()`.
3535

3636
| Option | Default | Description |
3737
| --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
38-
| `domain` | Superdomain of the current URL | Clears the cookies from the specified domain |
38+
| `domain` | Hostname of the current URL | Clears the cookies from the specified domain |
3939
| `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) |
4040
| `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.clearCookies()` to resolve before [timing out](#Timeouts) |
4141

content/api/commands/getcookie.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Pass in an options object to change the default behavior of `cy.getCookie()`.
3131

3232
| Option | Default | Description |
3333
| --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
34-
| `domain` | Superdomain of the current URL | Retrieves the cookie from the specified domain |
34+
| `domain` | Hostname of the current URL | Retrieves the cookie from the specified domain |
3535
| `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) |
3636
| `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.getCookie()` to resolve before [timing out](#Timeouts) |
3737

content/api/commands/getcookies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Pass in an options object to change the default behavior of `cy.getCookies()`.
2727

2828
| Option | Default | Description |
2929
| --------- | -------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
30-
| `domain` | Superdomain of the current URL | Retrieves the cookies from the specified domain |
30+
| `domain` | Hostname of the current URL | Retrieves the cookies from the specified domain |
3131
| `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) |
3232
| `timeout` | [`responseTimeout`](/guides/references/configuration#Timeouts) | Time to wait for `cy.getCookies()` to resolve before [timing out](#Timeouts) |
3333

content/api/commands/setcookie.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Pass in an options object to change the default behavior of `cy.setCookie()`.
3636
| Option | Default | Description |
3737
| ---------- | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3838
| `log` | `true` | Displays the command in the [Command log](/guides/core-concepts/cypress-app#Command-Log) |
39-
| `domain` | Superdomain of the current URL | The domain the cookie is visible to |
39+
| `domain` | Hostname of the current URL | The domain the cookie is visible to |
4040
| `expiry` | 20 years into the future | When the cookie expires, specified in seconds since [Unix Epoch](https://en.wikipedia.org/wiki/Unix_time). |
4141
| `httpOnly` | `false` | Whether the cookie is an HTTP only cookie |
4242
| `path` | `/` | The cookie path |

0 commit comments

Comments
 (0)