You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
I have a text-area element on my page. Associated with thsi text-area is a directive. The job of this directive is to capture the text has is "pasted" into the textarea and do some processing on it.
Now when I do paste a line of text into the textarea, my directive is able to capture every word in this line and perform related parsing and processing. However when using sendkeys in-order to paste text (i.e enter text) into textarea, the same behavior is not displayed. This time around only first few words are captured by my directive.
Ofcourse this could be something to do with the pace with which sendKeys enters text.
Is there anyway to make sendKeys work similar to Ctrl+v ?
I have a text-area element on my page. Associated with thsi text-area is a directive. The job of this directive is to capture the text has is "pasted" into the textarea and do some processing on it.
Now when I do paste a line of text into the textarea, my directive is able to capture every word in this line and perform related parsing and processing. However when using sendkeys in-order to paste text (i.e enter text) into textarea, the same behavior is not displayed. This time around only first few words are captured by my directive.
Ofcourse this could be something to do with the pace with which sendKeys enters text.
Is there anyway to make sendKeys work similar to Ctrl+v ?