Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/api/cypress-api/custom-commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,12 @@ Log? Read more about [Command Logging](#Command-Logging).

</Alert>

<Alert type="warning">

Note that `Cypress.Commands.add()` will throw an error when trying to add a custom command with the same name as an existing built-in Cypress command or reserved internal function. In order to override the behavior of an existing command, `Cypress.Commands.overwrite()` should be used instead. For more information, read the section [Overwrite Existing Commands](#Overwrite-Existing-Commands).

</Alert>

### Child Commands

Child commands are always chained off of a **parent** command, or another
Expand Down