to use Cypress.require within cy.origin error #28020
Unanswered
SemaEfe
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need use cy.origin and also I want to use my data from my page that I store web elements locator in it. However I can not use them inside the cy.origin. I can not call date from page inside cy.origin. And I searched a solition then I found use cy.require it can be useful. I tried below scripts but still not working. It can be wrong useage, please help me. Thanks
this is my page that I store web element locators and I want to call them inside cy.origin;
}
export default TradeinPage
And this is a my test page:
Beta Was this translation helpful? Give feedback.
All reactions