@here Not sure what I'm doing wrong. Xpath doesn't...
# help
c
@here Not sure what I'm doing wrong. Xpath doesn't work for me. What I've done was : 1. Installed xpath plugin, added
require('cypress-xpath');
in
setupNodeEvents(on, config) {}
block as well as in
e2e.js
, not sure where exactly it should go. Then when I run the test with cy.xpath(''), it fails with this error
cy.xpath is not a function
. Maybe someone can help me, it must be something obvious that I don't see