Sendkeys is sending the incomplete string
See original GitHub issueHello folks,
I’m having trouble sending sendkeys in my application. Sendkeys itself works, but sometimes it does not send the full string to the field of my application. I tried to solve this in two different ways (as you can see the examples below), but even then this error occurs sometimes.
My application is running in Codeship (CI) and also runs locally, in both environments the error occurs
- Node Version:
Node Version read from package.json: 6.2.2; Node Version used: 6.2.2
- Protractor Version:
5.1.1
- Angular Version:
I'm not using angular for that
- Browser(s):
ChromeDriver; Driver info: chromedriver=2.29.461571
- Operating System and Version
platform=Linux 4.2.0-42-generic x86_64
- Your protractor configuration file: See here
- A relevant example test:
I've added two examples just below
- Output from running the test
- Steps to reproduce the bug: I have already tried using two ways to solve this, but with both ways the same error occurs
this.name.click();
this.name.sendKeys(text);
var nameValue = 'odit';
nameValue.split('').forEach((c) => this.name.sendKeys(c));
- The URL you are running your tests against (if relevant):
Private project, I can not send the url
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Selenium - send_keys() sending incomplete string
It looks like this is a common issue. Before trying the workarounds, as a sanity check, make sure that the input field is...
Read more >Selenium - sendKeys() not inserting value into textbox
If sendkeys() methods are not working then use following two ways to ... First once clear the input text fields and send the...
Read more >1771 - sendKeys() sometimes doesn't enter all the characters ...
Hi, Since upgrading to chrome driver 2.35 sendKeys() method is sending jumbled text to the text box which affecting our automation suite.
Read more >Problem with SendKeys.SendWait function - MSDN - Microsoft
When I send the sendkeys.sendwait function to an open dialog box for any software, the sendkey.sendwait(string a) pastes an incomplete string.
Read more >Resolving the 'Incomplete Keyboard Input' Problem
The syntax of the string of keystrokes is invalid. The string accepted by the Keys method can contain special key constants like [Del]...
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
@wswebcreation
I’m using chormium 61, chromedriver 2.32, protractor 5.1.2
I can try to replicate it on a smaller example, but I suspect it won’t happen because it is tied to the fact my application is complex. I will try to replicate it deterministically on my application and provide you with instructions to witness it maybe first 😃
@wswebcreation ah yes, me too there is some validation (from angular reactive forms) on this input I’m testing!