Skip to content

Commit

Permalink
fix: correct cy.visit() documentation to include caveat around cy.ori…
Browse files Browse the repository at this point in the history
…gin for multiple superdomains (#5600)
  • Loading branch information
AtofStryker authored Jan 8, 2024
1 parent aa8ae73 commit 65fd286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/commands/visit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ URL or Cypress will attempt to act as your web server. See the
[prefixes notes](#Prefixes) for more details.

**Note:** visiting a new domain requires the Cypress window to reload. You
cannot visit different super domains in a single test.
cannot visit different super domains in a single test without the use of [`cy.origin()`](/api/commands/origin).

**<Icon name="angle-right" /> options** **_(Object)_**

Expand Down

0 comments on commit 65fd286

Please sign in to comment.