Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Pasting text and protractor #1037

@ghost

Description

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 ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions