string query = “Guy “Shyam” Doing doing”;
IJavaScriptExecutor executor = (IJavaScriptExecutor)_webDriver;
executor.ExecuteScript(“arguments[0].CodeMirror.setValue(”" + query + “”);", FindElement(_by));
How to put query which contains "
it tried " but it won’t work.
Can someone please let me know.