Why does 'xpath is not function' Error occurs in cypress while executing code?

Viewed 23

I am trying to test webpage using Xpath function in cypress using VS code

I am done with the installation process of xpath plugin in VS code, and written code using '.xpath' extention. But when I run my cypress code it shows me an error which is 'Xpath is not a function'.I want to execute cypress code using xpath.

Can anyone have any solution for above issue? pls guide me to resolve this issue.

error image

0 Answers
Related