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

javascript - How to use the code plugin with popcornjs -

python - rpy2 import is not working -

Python, converting png to gif using ImageMagick -