Cannot type into field
See original GitHub issueOperating System: Solus 3.999 shannon Cypress Version: 2.1.0 Browser Version: Electron 59
Is this a Feature or Bug? This is a bug.
Current behavior:
I have an input field:
I get the error:
CypressError: cy.type() can only be called on textarea or :text. Your subject is a:
Desired behavior:
This is an input element, so I would expect the input to be entered.
How to reproduce: Create an input, and try type().
Test code:
cy.get(selector)
.click()
cy.get(selector)
.type(02011999 + '{enter}')
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Cannot type into text input fields in Chrome and Firefox browsers
Cannot type into text fields in Chrome & Firefox · 1] Disable Hardware Acceleration. Cannot type into text fields in Google Chrome and...
Read more >Fix: Can't Type into Text Fields on Some Browsers - Appuals
Method 5: Enabling Screen lock via on-screen keyboard · Press Windows key + R to open up a Run dialog box. Then, type...
Read more >Cannot type in input text field - html - Stack Overflow
You may solve this by adding css attribute #textBox{ z-index:1000; } . It seems that viewport block is too big and overflowing the...
Read more >Cannot type into any field including search bar or Windows ...
1. Open the command prompt with elevated access (Administrator Access) · 2. Type the below command and hit enter every after command. net...
Read more >How to Create a Text Box that a User Can't Type Inside Of
This text box, just like the one with the READONLY attribute, does not allow a user to type into this field. However, unlike...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed as of 3.0.3 along with #1241, as we read of the
type
property instead of the attribute@jennifer-shehane It is fixed by adding a type to it. Nevertheless, I think Cypress should give the opportunity to type in those fields (with a null type).