paulotarcio paulotarcio - 3 months ago 5x
AngularJS Question

Why when I'm using protractor to write a text it doens't work correctly

I have a textarea and I'm trying to write a big text on it.
I'm using:

var ementa = element(by.xpath("//label[. = 'Descrição / Ementa*']/following-sibling::textarea"));

But, when I run the test, the proctractor makes a mess and write something like "T1TRES2". Why? How can I Fix it?


As you mentioned you are using Angular 2 , there were some issues with sendKeys() in Angular 2 but they are fixed with latest version- Angular 2.0.0-rc.3. for more info you can check out this issue -