Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-way binding causes WebDriver's sendkeys to drop characters #6977

Closed
rapropos opened this issue Feb 9, 2016 · 4 comments
Closed

Two-way binding causes WebDriver's sendkeys to drop characters #6977

rapropos opened this issue Feb 9, 2016 · 4 comments

Comments

@rapropos
Copy link

rapropos commented Feb 9, 2016

Combining my own experience with this problem with a couple of apparently related reports: protractor #2019 and angular #6250, I think the root cause is a conflict between WebDriver's sendkeys method and Angular's two-way binding.

A relatively minimal, hopefully reproducible, testbed is available at rapropos/twowaybind-sendkeys. This also demonstrates a potential workaround for certain situations: eschewing two-way binding using [(ngModel)] in favor of binding to a form control using [ngFormControl], which fixes the problem for me.

Version information:
webdriver 2.48.2
chromedriver 2.20.353124
chrome 47.0.2526.111

@zoechi
Copy link
Contributor

zoechi commented Feb 10, 2016

This might fix the issue #6897

@rapropos
Copy link
Author

@zoechi thank you for the suggestion, but it did not have any effect for me. I'm not even sure that code is referenced in my testbed app.

@juliemr
Copy link
Member

juliemr commented Jun 22, 2016

I am now unable to reproduce this with RC2/RC3. I think the issues has been fixed. Please open a new bug if you can show us a reproducible test case. Thanks!

@juliemr juliemr closed this as completed Jun 22, 2016
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants