diff --git a/docs/api/cypress-api/custom-commands.mdx b/docs/api/cypress-api/custom-commands.mdx index 4ad2c75aaa..d26669bf78 100644 --- a/docs/api/cypress-api/custom-commands.mdx +++ b/docs/api/cypress-api/custom-commands.mdx @@ -17,7 +17,7 @@ There are two API available for adding custom commands: - [`Cypress.Commands.add()`](#Syntax) - use to add a custom command to use when writing tests -- [`Cypress.Command.overwrite()`](#Overwrite-Existing-Commands) - use to +- [`Cypress.Commands.overwrite()`](#Overwrite-Existing-Commands) - use to override an existing built-in Cypress command or reserved internal function. **Caution:** this overrides it for Cypress as well and could impact how Cypress behaves.