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
I applied this code to find element by document in js file: var ele = document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
It's still work in console but return null when I run my code.
I don't know why? I think about new version of Cypress.
My code still work until I update new version.
Anyone help me?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I applied this code to find element by document in js file:
var ele = document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
It's still work in console but return null when I run my code.
I don't know why? I think about new version of Cypress.
My code still work until I update new version.
Anyone help me?
Beta Was this translation helpful? Give feedback.
All reactions