You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/cypress-api/custom-commands.mdx
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,12 @@ in the
29
29
30
30
There are two API available for adding custom commands:
31
31
32
-
-[`Cypress.Commands.add()`](#Syntax) - use to add a custom command to use when writing tests
33
-
-[`Cypress.Command.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.
32
+
-[`Cypress.Commands.add()`](#Syntax) - use to add a custom command to use when
33
+
writing tests
34
+
-[`Cypress.Command.overwrite()`](#Overwrite-Existing-Commands) - use to
35
+
override an existing built-in Cypress command or reserved internal function.
36
+
**Caution:** this overrides it for Cypress as well and could impact how
0 commit comments