https://cypress.io logo
yield it from the origin https://on.cypress.io/ori...
# help
g
yield it from the origin https://on.cypress.io/origin, I mean it is the result of the last command, so you could simply do
Copy code
js
cy.origin(..., () => {
  cy.visit('/')
  cy.url()...
  cy.request(...).its('body')
}).then(emailAddress => {
  ..
})