You can click on the button Open Selector Playground. Then you can simply click on the input field and you get the code on how to “get” it.
This will appear and on the right site of the window you can directly copy the code.
You can click on the button Open Selector Playground. Then you can simply click on the input field and you get the code on how to “get” it.
This will appear and on the right site of the window you can directly copy the code.
Right click element and click Copy > Copy Selector
In your test:
cy.get('Selector')
You can grab an element by id, class, or other HTML attributes. So a few potential options would be:
I have something like this:
<input aria-invalid="false" type="number" min="1" class="MuiInputBase-input-1102 MuiInput-input-1141" value="1">
how to get to it ??
what do you mean by how to get there? what exactly do you want?