sendKeys()
method would send all the keys at once (actually, one at a time but very quickly):
var elm = element(by.id("myinput"));
elm.sendKeys("test");
Is there a way to slow the typing down so that Protractor would send one character at a time with a small delay between each of the characters?
We can slow down Protractor entirely, but that does not change the way sendKeys()
works and it would also slow everything down while we just need the "send keys" part and only in specific cases.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…