Monday, 19 August 2019

Input text in draft.js

I'm doing automation test and I need to input text in a text field, but the problem is there is no 'input' to do this.

This one won't work:

document.querySelector([class*=modal-dialog] [class*=AddCitation_] [class*='DraftEditorPlaceholder']).value='Hello World'

Does any one know how to input text in draft.js?

enter image description here

enter image description here

enter image description here

enter image description here



from Input text in draft.js

No comments:

Post a Comment