Skip to content

Commit d3646d8

Browse files
Rephrase 'log out' within cookies doc to say 'log' or 'generate logs' (#3275)
1 parent fe7407f commit d3646d8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/api/cypress-api/cookies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ Set defaults for all cookies, such as preserving a set of cookies to bypass bein
3636

3737
## Debug
3838

39-
### Log out when cookie values are created, modified or deleted
39+
### Log when cookie values are created, modified or deleted
4040

41-
By turning on debugging, Cypress will automatically log out to the console when it *sets* or *clears* cookie values. This is useful to help you understand how Cypress clears cookies before each test, and is useful to visualize how to handle preserving cookies in between tests.
41+
By turning on debugging, Cypress will automatically generate logs to the console when it *sets* or *clears* cookie values. This is useful to help you understand how Cypress clears cookies before each test, and is useful to visualize how to handle preserving cookies in between tests.
4242

4343
```javascript
44-
Cypress.Cookies.debug(true) // now Cypress will log out when it alters cookies
44+
Cypress.Cookies.debug(true) // now Cypress will log when it alters cookies
4545

4646
cy.clearCookie('foo')
4747
cy.setCookie('foo', 'bar')
@@ -51,7 +51,7 @@ cy.setCookie('foo', 'bar')
5151

5252
### Turn off verbose debugging output
5353

54-
By default Cypress will log out the cookie object which allows you to inspect all of its properties. However you may not need that level of detail and you can turn this off.
54+
By default Cypress will log the cookie object which allows you to inspect all of its properties. However you may not need that level of detail and you can turn this off.
5555

5656
```javascript
5757
Cypress.Cookies.debug(true, { verbose: false })

0 commit comments

Comments
 (0)