i raised a similar protractor issue on this , the issue seems like
- if you give a input say "one" to textbox 'A'
- then you clear text box 'A'
- and then sends input to textbox 'B'
- and then sends input say "two" again to textbox 'A', A will get the value onetwo
If you immediately use sendKeys after using clear() , everything works fine.
- if you give an input say "one" to textbox 'A'
- then you clear text box 'A'
- and then sends input say "two" again to textbox 'A', A will get the value two
In my case using the element in order fixed the issue
link to issue: