javascript - Programmatically edit CodeMirror contents without access to object -
I am using Selenium to run an automated test on a page that has a CodeMirror Editor. I do not have access to the object, but I have jQuery available. How can I edit the contents of the editor in such a way that the codemaker accepts change?
wrapping div DOM element (Class CodeMirror ) Will be a property CodeMirror which refers to the editor instance object you can call it on setValue .
Comments
Post a Comment