-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$element.text is not a function #9435
Comments
So, for some reason the Duplicate of #8346 |
@VictorCapitole This is because See our FAQ for multiple ways to get the text of an element: https://on.cypress.io/using-cypress-faq#How-do-I-get-an-element%E2%80%99s-text-contents You may want to try asking our community in our GitHub Discussions. As an open source project with a small maintainer team we have to focus our time on bugs and features in the product, which Issues are reserved for. |
I don't get it, the same page you reference mentions using .text() multiple times. |
I have this code:
When running this code I have the following error: $element.text is not a function
But the log is printing the text properly.
The text was updated successfully, but these errors were encountered: