i have raised a 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 a 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
So the fix for now is to make sure you clear and use the element in order.
link to issue: