Selectors playground #20991
Unanswered
rszatkowski
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
-
Trying to set up a selector playground in my project:
https://docs.cypress.io/api/cypress-api/selector-playground-api
I added the code to the index.js file in the support folder:
support/index.js
Then i am trying to use the selector in my code:
But the selector element is empty
This is the selector:
<input id="username" class="form-control" placeholder="Enter your username" type="text">
Can somebody explain to me step by step what I am doing wrong? The tutorial from cypress seemed to be clear but it doesn't work for me.
Beta Was this translation helpful? Give feedback.
All reactions