<form>
<input type='text' name='user'/>
</form>
Tying to get the input element via aria role 'textbox'. I've tried many different ways and everything comes back as 'not found'
cy.get('role=input')
cy.get('[role=input]')
cy.get('role="input")
cy.get('[role="input"])
cy.get('role=textbox')
cy.get('[role=textbox]')
cy.get('role="textbox")
cy.get('[role="textbox"])
cy.get('form[role="textbox"]')
cy.get('form[role=textbox]')
I've tried other things as well like capitalizing role. it's my understanding from the documentation that
cy.get('[role="textbox"]')
should work but returns not found.
You can see from dev-tools that it does have the role