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

Popular posts from this blog

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

scala - Play Framework - how to bind form to a session field -